From 5b69e4b92b73d30b9efedcc291cfb45e2ec10a37 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Oct 2009 13:51:13 +0100 Subject: Merging casper 1.172. --- scripts/live-bottom/43disable_updateinitramfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/live-bottom/43disable_updateinitramfs') 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' -- cgit v1.2.3