diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:36 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:25:50 +0100 |
| commit | 9fc9e2a1a11b0edada38cb501fefe4f58aa414ac (patch) | |
| tree | 7d2d89ecfbd394b41854937ec2342bc7ae530cf5 /debian/init | |
| parent | 4bdaa2237c6ae923d1dd068e9024ebceca3f40d9 (diff) | |
| download | live-boot-9fc9e2a1a11b0edada38cb501fefe4f58aa414ac.tar.gz live-boot-9fc9e2a1a11b0edada38cb501fefe4f58aa414ac.zip | |
Adding live-initramfs 1.87.2-1.
Diffstat (limited to 'debian/init')
| -rw-r--r-- | debian/init | 12 |
1 files changed, 6 insertions, 6 deletions
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 <marco.amadori@gmail.com> # 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 |
