source: lsb-bootscripts/etc/init.d/halt@ 8476b9e1

7.1
Last change on this file since 8476b9e1 was f3f65e73, checked in by DJ Lucas <dj@…>, 13 years ago

Added stop_on_error parameter to rc.site and cleaned up Begin and End lines.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9552 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 550 bytes
RevLine 
[1c48007]1#!/bin/sh
2# Begin $RC_BASE/init.d/halt
3
4### BEGIN INIT INFO
5# Provides: halt
6# Required-Start:
7# Should-Start:
[614a14e]8# Required-Stop:
[1c48007]9# Should-Stop:
10# Default-Start: 0
11# Default-Stop:
12# Short-Description: Halts the system.
13# Description: Halts the System.
14# X-LFS-Provided-By: LFS
15### END INIT INFO
16
17. /lib/lsb/init-functions
18
19case "${1}" in
20 stop)
21 log_success_msg "Halting System..."
22 halt -d -f -i -p
23 ;;
24 *)
25 echo "Usage: {stop}"
26 exit 1
27 ;;
28esac
29
[f3f65e73]30# End $RC_BASE/init.d/halt
Note: See TracBrowser for help on using the repository browser.