1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/ifplugd/ifplugd.init
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2004 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 # Desc: Starting Network Interface Plugging Daemon
17 [ -f /etc/ifplugd/ifplugd.conf ] && . /etc/ifplugd/ifplugd.conf
21 block_begin(start, `Starting ifplugd')
22 for IF in $INTERFACES ; do
24 [ "$A" = "" ] && A="$ARGS"
25 check(`D_sbindir/ifplugd -i $IF $A')
30 block_begin(stop, `Stopping ifplugd')
31 for IF in $INTERFACES ; do
32 check(`D_sbindir/ifplugd -k -i $IF')