OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

D.19. /etc/rc.d/init.d/halt‌


#!/bin/sh

########################################################################

# Begin halt

#

# Description : Halt Script

#

#!/bin/sh

########################################################################

# Begin halt

#

# Description : Halt Script

#


# Authors

#

# Update

#

# Version

#

# Authors

#

# Update

#

# Version

#


########################################################################

########################################################################


### BEGIN INIT INFO

# Provides:

# Required-Start:

# Should-Start:

# Required-Stop:

# Should-Stop:

# Default-Start:

# Default-Stop:

# Short-Description:

# Description:

# X-LFS-Provided-By:

### END INIT INFO

### BEGIN INIT INFO

# Provides:

# Required-Start:

# Should-Start:

# Required-Stop:

# Should-Stop:

# Default-Start:

# Default-Stop:

# Short-Description:

# Description:

# X-LFS-Provided-By:

### END INIT INFO


case "${1}" in stop)

halt -d -f -i -p

;;

case "${1}" in stop)

halt -d -f -i -p

;;



*)

echo "Usage: {stop}" exit 1

;;

esac


# End halt

*)

echo "Usage: {stop}" exit 1

;;

esac


# End halt


image

Top OS Cloud Computing at OnWorks: