]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- if invoced from hotplug bring up only interface with HOTPLUG=yes
authorArtur Frysiak <artur@frysiak.net>
Sat, 11 Oct 2003 10:59:34 +0000 (10:59 +0000)
committerArtur Frysiak <artur@frysiak.net>
Sat, 11 Oct 2003 10:59:34 +0000 (10:59 +0000)
svn-id: @1432

sysconfig/network-scripts/ifup

index 5ad8ea76b7cf9dfaa1dd2f43d6b6a8645c08e0f7..9a74443ad752eca7ed406cedd006f6ebfc3ad804 100755 (executable)
@@ -49,7 +49,7 @@ if [ "foo$2" = "fooboot" ] && is_no "${ONBOOT}"; then
     exit
 fi
 
-if [ "foo$2" = "foohotplug" ] && is_yes "${ONBOOT}"; then
+if [ "foo$2" = "foohotplug" ] && ! is_yes "${HOTPLUG}"; then
     exit
 fi
 
This page took 0.038987 seconds and 4 git commands to generate.