Support debian_networking boot option to use Debian's network behavior
[live-boot-grml.git] / components / 9990-main.sh
index ed48be3..b9bd71b 100755 (executable)
@@ -182,10 +182,15 @@ Live ()
        mount --rbind /run/live ${rootmnt}/lib/live/mount
 
        Fstab
-       Netbase
 
        Swap
 
+       if grep -q debian_networking /proc/cmdline ; then
+               Netbase
+       else
+               Grml_Networking
+       fi
+
        exec 1>&6 6>&-
        exec 2>&7 7>&-
        kill ${tailpid}