Replacing live-boot initscript with a stub and moving the actual code to /lib/live...
[live-boot-grml.git] / debian / live-boot.init
1 #!/bin/sh
2
3 ## live-boot contains the scripts that configure a Debian Live system during
4 ## the boot process (early userspace).
5 ##
6 ## This is the sysvinit script for live-boot.
7
8
9 ### BEGIN INIT INFO
10 # Provides:             live-boot
11 # Required-Start:       $syslog bootmisc
12 # Required-Stop:
13 # Should-Start:         $local_fs
14 # Should-Stop:          halt reboot
15 # Default-Start:        S
16 # Default-Stop:         0 6
17 # Short-Description:    Debian Live - System Configuration Scripts
18 # Description:          live-boot contains the scripts that configure a Debian
19 #                       Live system during the boot process (early userspace).
20 # X-Start-Before:
21 # X-Stop-After:         umountroot
22 # X-Interactive:        true
23 ### END INIT INFO
24
25 case "${1}" in
26         stop)
27                 if [ -e /lib/live/boot.sh ]
28                 then
29                         /lib/live/boot.sh
30                 fi
31                 ;;
32
33         start|force-reload|restart)
34
35                 ;;
36 esac