X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2Fmountroot.sh;h=dbc66d4d9356bdda11bbfa16b06af0ecb0a0bb9a;hb=e243babf191d5b42efe58e90e74a22bd8063be8d;hp=bad0a783f5a33fb73c4bd1a44dc5d7ce04852703;hpb=f04ab476c668ad513f1ec68beaa948a26c862e05;p=live-boot-grml.git diff --git a/scripts/boot/mountroot.sh b/scripts/boot/mountroot.sh index bad0a78..dbc66d4 100755 --- a/scripts/boot/mountroot.sh +++ b/scripts/boot/mountroot.sh @@ -184,18 +184,6 @@ mountroot () fi fi - # copy snapshot configuration if exists - if [ -f snapshot.conf ] - then - log_begin_msg "Copying snapshot.conf to ${rootmnt}/etc/live/boot.d" - if [ ! -d "${rootmnt}/etc/live/boot.d" ] - then - mkdir -p "${rootmnt}/etc/live/boot.d" - fi - cp snapshot.conf "${rootmnt}/etc/live/boot.d/" - log_end_msg - fi - if [ -f /etc/resolv.conf ] && [ ! -s ${rootmnt}/etc/resolv.conf ] then log_begin_msg "Copying /etc/resolv.conf to ${rootmnt}/etc/resolv.conf" @@ -208,7 +196,6 @@ mountroot () panic "A wrong rootfs was mounted." fi - persistence_exclude fstab Netbase