X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-main.sh;h=b9bd71b9febc6269f31a4f606d7ae35d181ec63c;hb=27bc786ffea0c796827b628fb48fcdd755eace9d;hp=b58570449755d08e873695269508e0b281b8c5b4;hpb=00b1535be06d4c045033a7f7b8a8226d44e40ded;p=live-boot-grml.git diff --git a/components/9990-main.sh b/components/9990-main.sh index b585704..b9bd71b 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -174,11 +174,23 @@ Live () panic "A wrong rootfs was mounted." fi + # avoid breaking existing user scripts that rely on the old path + # this includes code that checks what is mounted on /lib/live/mount/* + # (eg: grep /lib/live /proc/mount) + # XXX: to be removed before the bullseye release + mkdir -p ${rootmnt}/lib/live/mount + 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}