summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/43disable_updateinitramfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-26 13:51:13 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commit5b69e4b92b73d30b9efedcc291cfb45e2ec10a37 (patch)
tree93b8a32f54dd88c32957dc407bb732d6af0344cd /scripts/live-bottom/43disable_updateinitramfs
parent20353bbbac80b82221411825349a0aafc6123632 (diff)
downloadlive-boot-5b69e4b92b73d30b9efedcc291cfb45e2ec10a37.tar.gz
live-boot-5b69e4b92b73d30b9efedcc291cfb45e2ec10a37.zip
Merging casper 1.172.
Diffstat (limited to 'scripts/live-bottom/43disable_updateinitramfs')
-rwxr-xr-xscripts/live-bottom/43disable_updateinitramfs4
1 files changed, 2 insertions, 2 deletions
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 [^ ]* [^ ]*\<ro\>' /proc/mounts; then
+if [ -w /root/cdrom ] && \
+ ! grep -q '^[^ ]* /root/cdrom [^ ]* [^ ]*\<ro\>' /proc/mounts
then
cat > /root/usr/sbin/update-initramfs << 'EOF'