diff --git a/package/base/ifplugd/ifplugd.conf b/package/base/ifplugd/ifplugd.conf new file mode 100644 index 000000000..9e2ca6c0a --- /dev/null +++ b/package/base/ifplugd/ifplugd.conf @@ -0,0 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/base/ifplugd/ifplugd.conf +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +hook_add postmake 3 "install_init ifplugd $confdir/ifplugd.init" + diff --git a/package/base/ifplugd/ifplugd.desc b/package/base/ifplugd/ifplugd.desc index ac597cc68..1655c0b68 100644 --- a/package/base/ifplugd/ifplugd.desc +++ b/package/base/ifplugd/ifplugd.desc @@ -6,7 +6,7 @@ [COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by [COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! [COPY] -[COPY] ROCK Linux: rock-src/package/base/iproute2/iproute2.desc +[COPY] ROCK Linux: rock-src/package/base/ifplugd/ifplugd.desc [COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf [COPY] [COPY] This program is free software; you can redistribute it and/or modify @@ -41,5 +41,5 @@ [V] 0.20 [P] X -----5---9 3001.000 -[D] 0 ifplugd-0.20.tar.gz http://0pointer.de/lennart/projects/ifplugd/ +[D] 458960575 ifplugd-0.20.tar.gz http://0pointer.de/lennart/projects/ifplugd/ diff --git a/package/base/ifplugd/ifplugd.init b/package/base/ifplugd/ifplugd.init new file mode 100644 index 000000000..4b0ada96e --- /dev/null +++ b/package/base/ifplugd/ifplugd.init @@ -0,0 +1,49 @@ +#!/bin/sh +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/base/ifplugd/ifplugd.init +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# Desc: Starting Network Interface Plugging Daemon +# Runlevel: 50 rcX +# + +[ -f /etc/ifplugd/ifplugd.conf ] && . /etc/ifplugd/ifplugd.conf + +main_begin + + block_begin(start, `Starting ifplugd.') + for IF in $INTERFACES ; do + eval A=\$ARGS_{$IF} + [ "$A" = "" ] && A="$ARGS" + check(`D_prefix/sbin/ifplugd -i $IF $A') + done + + block_end + + block_begin(stop, `Stopping ifplugd.') + for IF in $INTERFACES ; do + check(`D_prefix/sbin/ifplugd -k -i $IF') + done + block_end + +main_end + diff --git a/package/base/libdaemon/libdaemon.desc b/package/base/libdaemon/libdaemon.desc index ab195044f..ae8cf44fe 100644 --- a/package/base/libdaemon/libdaemon.desc +++ b/package/base/libdaemon/libdaemon.desc @@ -6,7 +6,7 @@ [COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by [COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! [COPY] -[COPY] ROCK Linux: rock-src/package/base/iproute2/iproute2.desc +[COPY] ROCK Linux: rock-src/package/base/libdaemon/libdaemon.desc [COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf [COPY] [COPY] This program is free software; you can redistribute it and/or modify @@ -43,5 +43,5 @@ [V] 0.3 [P] X -----5---9 300.000 -[D] 0 libdaemon-0.3.tar.gz http://0pointer.de/lennart/projects/libdaemon/ +[D] 1909368935 libdaemon-0.3.tar.gz http://0pointer.de/lennart/projects/libdaemon/