]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
fix ONBOOT handling for VLAN interfaces
authorJacek Konieczny <jajcus@jajcus.net>
Fri, 7 Dec 2018 21:56:38 +0000 (22:56 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Fri, 7 Dec 2018 21:57:15 +0000 (22:57 +0100)
was broken by: cf38a0 Use is_yes, so ONBOOT can be on, yes etc.

rc.d/init.d/network

index 960c9a061f25f6172d2a7055302253dfb42a1514..9fe7651a2b8a4386bc70aac86242d926218ab0b6 100755 (executable)
@@ -168,7 +168,7 @@ find_boot_interfaces() {
                                DEVICE=""; ONBOOT=""; USERS=""; . "$i" 2>/dev/null
                                [ "${DEVICE:+set}" != "set" ] && continue
                                [ ${USERS:-no} != no ] && continue
-                               is_yes ${ONBOOT:-no} && echo "${i##*/ifcfg-}"
+                               is_yes ${ONBOOT:-no} && echo "${i##*/ifcfg-}"
                        done
                `
 
This page took 0.082356 seconds and 4 git commands to generate.