X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Finit.d;fp=debian%2Fcasper.init;h=6d2d6d3e33ba4f1f6c33da7780963f33a9e4016f;hb=a7e62470dcdcd93501d9f54a96ca45d267ad1fe5;hp=797d230033c807299c9cb4f6a37f660e7c277466;hpb=4a0b1ba4d428c623d14bae7f0db85c80abb0da0a;p=live-boot-grml.git diff --git a/debian/casper.init b/debian/init.d old mode 100755 new mode 100644 similarity index 82% rename from debian/casper.init rename to debian/init.d index 797d230..6d2d6d3 --- a/debian/casper.init +++ b/debian/init.d @@ -2,7 +2,7 @@ grep -qs boot=casper /proc/cmdline || exit 0 -# Try to cache everything we're likely to need after ejecting. This +# Try to cache everything we're likely to need after ejecting. This # is fragile and simple-minded, but our options are limited. cache_path() { path="$1" @@ -25,10 +25,10 @@ for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default; do cache_path "$path" done -eject -p -m /live_media >/dev/null 2>&1 +eject -p -m /cdrom >/dev/null 2>&1 # XXX - i18n -echo -n "Please remove the disc (if any), close the tray (if any) and press ENTER: " +echo -n "Please remove the disc, close the tray (if any) and press ENTER: " if [ -x /sbin/usplash_write ]; then /sbin/usplash_write "TIMEOUT 0" /sbin/usplash_write "TEXT Please remove the disc, close the tray (if any)"