Changeset 1680407 in bootscripts-standard for cblfs/init.d/ntp


Ignore:
Timestamp:
Oct 24, 2007, 8:45:54 PM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
6dee7fa
Parents:
1d02f01
Message:

Added Netboot Scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cblfs/init.d/ntp

    r1d02f01 r1680407  
    88. $rc_functions
    99
     10pidfile=/var/run/ntpd.pid
     11
    1012case "$1" in
    1113        start)
    1214                boot_mesg "Starting ntpd..."
    1315                ntpd -gqx
    14                 loadproc /usr/sbin/ntpd
     16                loadproc -p $pidfile /usr/sbin/ntpd
    1517                ;;
    1618
    1719        stop)
    1820                boot_mesg "Stopping ntpd..."
    19                 killproc /usr/sbin/ntpd
     21                killproc -p $pidfile /usr/sbin/ntpd
    2022                ;;
    2123
     
    2729
    2830        status)
    29                 statusproc /usr/sbin/ntpd
     31                statusproc -p $pidfile /usr/sbin/ntpd
    3032                ;;
    3133
Note: See TracChangeset for help on using the changeset viewer.