X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F43disable_updateinitramfs;h=6ceeacfa09488540ffda83be85d9296d4f9b502b;hb=24b9fd1c70013f5847d3a4658e56bd44534e7890;hp=2b60315e1f5382820f23fd12caf48c4e0507a148;hpb=3f682b4344b8b6fb0e8478ce684783f183c4802d;p=live-boot-grml.git diff --git a/scripts/live-bottom/43disable_updateinitramfs b/scripts/live-bottom/43disable_updateinitramfs index 2b60315..6ceeacf 100755 --- a/scripts/live-bottom/43disable_updateinitramfs +++ b/scripts/live-bottom/43disable_updateinitramfs @@ -30,8 +30,8 @@ chroot /root dpkg-divert --add --rename --quiet \ /usr/sbin/update-initramfs # Running off a USB disk or other writable media. -if [ -w /cdrom ] && \ - ! grep -q '^[^ ]* /cdrom [^ ]* [^ ]*\' /proc/mounts; then +if [ -w /root/cdrom ] && \ + ! grep -q '^[^ ]* /root/cdrom [^ ]* [^ ]*\' /proc/mounts then cat > /root/usr/sbin/update-initramfs << 'EOF'