OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

D.18. /etc/rc.d/init.d/reboot‌


#!/bin/sh

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

# Begin reboot

#

# Description : Reboot Scripts

#

#!/bin/sh

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

# Begin reboot

#

# Description : Reboot Scripts

#


# Authors

#

# Update

#

# Version

#

# Authors

#

# Update

#

# Version

#


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

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


### BEGIN INIT INFO

# Provides:

# Required-Start:

# Should-Start:

# Required-Stop:

# Should-Stop:

# Default-Start:

# Default-Stop:

### BEGIN INIT INFO

# Provides:

# Required-Start:

# Should-Start:

# Required-Stop:

# Should-Stop:

# Default-Start:

# Default-Stop:



# Short-Description: Reboots the system.

# Description: Reboots the System.

# X-LFS-Provided-By: LFS

### END INIT INFO

. /lib/lsb/init-functions case "${1}" in

stop)

log_info_msg "Restarting system..." reboot -d -f -i

;;


*)

echo "Usage: ${0} {stop}" exit 1

;;


esac


# End reboot

# Short-Description: Reboots the system.

# Description: Reboots the System.

# X-LFS-Provided-By: LFS

### END INIT INFO

. /lib/lsb/init-functions case "${1}" in

stop)

log_info_msg "Restarting system..." reboot -d -f -i

;;


*)

echo "Usage: ${0} {stop}" exit 1

;;


esac


# End reboot


image

image

: Gerard Beekmans - [email protected] DJ Lucas - [email protected]

: Bruce Dubbs - [email protected]

: Gerard Beekmans - [email protected] DJ Lucas - [email protected]

: Bruce Dubbs - [email protected]

: LFS 7.0

: LFS 7.0

halt

halt

0


Halts the system. Halts the System. LFS

0


Halts the system. Halts the System. LFS

Top OS Cloud Computing at OnWorks: