X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-main.sh;h=b0e2a7ba6c56939be875dbaefc75df7fd8df18c9;hb=ea4f167204b444fc52633a2ed1ded9023c3b01e4;hp=3fbe9bc835be5ba14f4317d4489e756e2b60ef4c;hpb=9c27c7a23d5b839cfefa72bfae93102fbf67d83a;p=live-boot-grml.git diff --git a/components/9990-main.sh b/components/9990-main.sh index 3fbe9bc..b0e2a7b 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -33,7 +33,7 @@ Live () # Needed here too because some things (*cough* udev *cough*) # changes the timeout - if [ ! -z "${NETBOOT}" ] || [ ! -z "${FETCH}" ] || [ ! -z "${HTTPFS}" ] || [ ! -z "${FTPFS}" ] + if [ -n "${NETBOOT}" ] || [ -n "${FETCH}" ] || [ -n "${HTTPFS}" ] || [ -n "${FTPFS}" ] then if do_netmount then @@ -205,10 +205,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}