Changeset 1680407 in bootscripts-standard for cblfs/init.d/ntp
- Timestamp:
- Oct 24, 2007, 8:45:54 PM (17 years ago)
- Branches:
- master
- Children:
- 6dee7fa
- Parents:
- 1d02f01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cblfs/init.d/ntp
r1d02f01 r1680407 8 8 . $rc_functions 9 9 10 pidfile=/var/run/ntpd.pid 11 10 12 case "$1" in 11 13 start) 12 14 boot_mesg "Starting ntpd..." 13 15 ntpd -gqx 14 loadproc /usr/sbin/ntpd16 loadproc -p $pidfile /usr/sbin/ntpd 15 17 ;; 16 18 17 19 stop) 18 20 boot_mesg "Stopping ntpd..." 19 killproc /usr/sbin/ntpd21 killproc -p $pidfile /usr/sbin/ntpd 20 22 ;; 21 23 … … 27 29 28 30 status) 29 statusproc /usr/sbin/ntpd31 statusproc -p $pidfile /usr/sbin/ntpd 30 32 ;; 31 33
Note: See TracChangeset
for help on using the changeset viewer.