summaryrefslogtreecommitdiff
path: root/debian/live-boot.init
blob: 373df1bc621e69ec65875780cc052e6396ae538b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh

## live-boot contains the scripts that configure a Debian Live system during
## the boot process (early userspace).
##
## This is the sysvinit script for live-boot.


### BEGIN INIT INFO
# Provides:		live-boot
# Required-Start:	$syslog bootmisc
# Required-Stop:
# Should-Start:		$local_fs
# Should-Stop:		halt reboot
# Default-Start:	S
# Default-Stop:		0 6
# Short-Description:	Debian Live - System Configuration Scripts
# Description:		live-boot contains the scripts that configure a Debian
#			Live system during the boot process (early userspace).
# X-Start-Before:
# X-Stop-After:		umountroot
# X-Interactive:	true
### END INIT INFO

case "${1}" in
	stop)
		if [ -e /lib/live/boot.sh ]
		then
			/lib/live/boot.sh
		fi
		;;

	start|force-reload|restart)

		;;
esac