]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- ifup exit if invoked from hotplug and ONBOOT=yes
authorArtur Frysiak <artur@frysiak.net>
Sat, 11 Oct 2003 09:15:11 +0000 (09:15 +0000)
committerArtur Frysiak <artur@frysiak.net>
Sat, 11 Oct 2003 09:15:11 +0000 (09:15 +0000)
svn-id: @1431

sysconfig/network-scripts/ifup

index 3ca779529839fccfef72eb82f82234cfb1f8d4ed..5ad8ea76b7cf9dfaa1dd2f43d6b6a8645c08e0f7 100755 (executable)
@@ -49,6 +49,10 @@ if [ "foo$2" = "fooboot" ] && is_no "${ONBOOT}"; then
     exit
 fi
 
+if [ "foo$2" = "foohotplug" ] && is_yes "${ONBOOT}"; then
+    exit
+fi
+
 IPSETUP=no
 
 # set all major variables
This page took 0.057371 seconds and 4 git commands to generate.