X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=linuxrc;h=09e05fff6536646b3be999951484d73ddface251;hb=refs%2Ftags%2F0.79;hp=10e677ec4678a37c372a358302ae8bcf8d43b248;hpb=3c9613e61b6b4b0b2badcc01e220bae279b900a1;p=grml-terminalserver.git diff --git a/linuxrc b/linuxrc index 10e677e..09e05ff 100755 --- a/linuxrc +++ b/linuxrc @@ -888,6 +888,10 @@ mkdir -p /UNIONFS if test -n "$UNIONFS" && /bin/mount -t unionfs -o noatime${SECURE},dirs=/ramdisk=rw:/GRML=ro /UNIONFS /UNIONFS; then # We now have unionfs, copy some data from the initial ramdisk first cp -a /etc/fstab /etc/auto.mnt /etc/filesystems /etc/mtab /UNIONFS/etc/ + # disable resolvconf on the terminalserver client + rm /UNIONFS/etc/resolv.conf + cp -a /etc/resolv.conf /UNIONFS/etc + echo REPORT_ABSENT_SYMLINK=no >> /UNIONFS/etc/default/resolvconf for i in bin boot etc sbin var lib opt root usr; do # Move directories to unionfs if test -d /$i; then mv /$i /$i.old && \