]> git.pld-linux.org Git - packages/systemd.git/blobdiff - udev-net.helper
Release 13. Turned off PLD RAID/LVM config inside containers.
[packages/systemd.git] / udev-net.helper
index 3371a064968b5ca78dcca517af61ff681a38e346..b9199fb42e63fa3ed2e492b2df7dc3361e52e71d 100644 (file)
@@ -54,13 +54,13 @@ add|register)
            ethernet_check $INTERFACE || exit 0;
 
            # automatically create an interface file
-           CFG=/etc/sysconfig/network-scripts/ifcfg-$INTERFACE
+           CFG=/etc/sysconfig/interfaces/ifcfg-$INTERFACE
            if [ "$AUTOMATIC_IFCFG" != no -a ! -r $CFG ]; then
                debug_mesg creating config file for $INTERFACE
                cat > $CFG <<EOF
 DEVICE=$INTERFACE
 BOOTPROTO=dhcp
-ONBOOT=yes
+ONBOOT=no
 EOF
            fi
 
@@ -88,7 +88,7 @@ remove|unregister)
        *)
            if [ -x /sbin/ifdown ]; then
                debug_mesg invoke ifdown $INTERFACE
-               exec /sbin/ifdown $INTERFACE daemon
+               exec /sbin/ifdown $INTERFACE hotplug
            fi
            ;;
     esac
This page took 0.031123 seconds and 4 git commands to generate.