X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Finit;h=7c0dbe9b321390b1278b313b48b2ae83f4bcc0f2;hb=9fc9e2a1a11b0edada38cb501fefe4f58aa414ac;hp=4e53eff889de7cb0fe4ba48f3eec79e5b7a24ca8;hpb=4bdaa2237c6ae923d1dd068e9024ebceca3f40d9;p=live-boot-grml.git diff --git a/debian/init b/debian/init index 4e53eff..7c0dbe9 100644 --- a/debian/init +++ b/debian/init @@ -1,6 +1,6 @@ #! /bin/sh ### BEGIN INIT INFO -# Provides: casper +# Provides: live-initramfs # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $local_fs @@ -16,15 +16,15 @@ # Marco Amadori # PATH=/usr/sbin:/usr/bin:/sbin:/bin -NAME=casper +NAME=live-initramfs SCRIPTNAME=/etc/init.d/${NAME} -DO_SNAPSHOT=/sbin/${NAME}-snapshot +DO_SNAPSHOT=/sbin/live-snapshot -# Exit if system was not booted by casper -grep -qs boot=casper /proc/cmdline || exit 0 +# Exit if system was not booted by live-initramfs +grep -qs boot=live /proc/cmdline || exit 0 # Read configuration variable file if it is present -[ -r /etc/$NAME.conf ] && . /etc/$NAME.conf +[ -r /etc/live.conf ] && . /etc/live.conf # Load the VERBOSE setting and other rcS variables [ -f /etc/default/rcS ] && . /etc/default/rcS