aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-07-10 18:20:16 -0400
committerBill Nottingham <notting@redhat.com>2008-07-10 18:20:16 -0400
commit7f6f7fcc59d3a977966fe4f321196468131c3d67 (patch)
treeaacb84f43cfacc25cf70104a1f59c52ef8f045ae
parent0c0f23f6dcd45effade15a7b534ebfb70cf30833 (diff)
downloadinitscripts-7f6f7fcc59d3a977966fe4f321196468131c3d67.tar
initscripts-7f6f7fcc59d3a977966fe4f321196468131c3d67.tar.gz
initscripts-7f6f7fcc59d3a977966fe4f321196468131c3d67.tar.bz2
initscripts-7f6f7fcc59d3a977966fe4f321196468131c3d67.tar.xz
initscripts-7f6f7fcc59d3a977966fe4f321196468131c3d67.zip
Clarify comments.
-rwxr-xr-xsysconfig/network-scripts/net.hotplug5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/net.hotplug b/sysconfig/network-scripts/net.hotplug
index 543fb541..f41c8e8e 100755
--- a/sysconfig/network-scripts/net.hotplug
+++ b/sysconfig/network-scripts/net.hotplug
@@ -17,7 +17,7 @@ add|register)
fi
case $INTERFACE in
- # interfaces that are registered after being "up" (?)
+ # interfaces that are brought up as a part of configuration
ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*)
exit 0
;;
@@ -38,12 +38,11 @@ add|register)
remove|unregister)
case $INTERFACE in
- # interfaces that are unregistered after being "down" (?)
+ # interfaces that are brought down as part of deconfiguration
ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*)
exit 0
;;
*)
- # RedHat and similar
export IN_HOTPLUG=1
if [ -x /sbin/ifdown ]; then
exec /sbin/ifdown $INTERFACE