Annotation of /tags/init-0_6_0/rc/reboot
Parent Directory | Revision Log
Revision 781 -
(hide annotations)
(download)
Mon Dec 22 22:01:15 2008 UTC (15 years, 9 months ago) by niro
Original Path: trunk/magellan-initscripts/etc/rc.d/init.d/reboot
File size: 334 byte(s)
Mon Dec 22 22:01:15 2008 UTC (15 years, 9 months ago) by niro
Original Path: trunk/magellan-initscripts/etc/rc.d/init.d/reboot
File size: 334 byte(s)
-use /etc/conf.d/rc instead of /etc/sysconfig/rc
1 | niro | 2 | #!/bin/bash |
2 | niro | 781 | # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/reboot,v 1.3 2008-12-22 22:01:15 niro Exp $ |
3 | niro | 2 | |
4 | #%rlevels: 6:k | ||
5 | #%start: | ||
6 | #%stop: 99 | ||
7 | |||
8 | #deps | ||
9 | #%needs: | ||
10 | #%before: | ||
11 | #%after: | ||
12 | |||
13 | niro | 781 | source /etc/conf.d/rc |
14 | source ${rc_functions} | ||
15 | niro | 2 | |
16 | reboot -d -f -i | ||
17 | |||
18 | update_svcstatus $1 | ||
19 | splash svc_stopped "$(basename $0)" 0 |
Properties
Name | Value |
---|---|
svn:executable | * |