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


Ignore:
Timestamp:
Oct 25, 2007, 3:45:54 AM (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/haldaemon

    r1d02f01 r1680407  
    1111. $rc_functions
    1212
     13pidfile=/var/run/hald/pid
     14
    1315case "$1" in
    1416        start)
    1517                boot_mesg "Starting the HAL Daemon..."
    16                 loadproc /usr/sbin/hald --use-syslog
     18                loadproc -p $pidfile /usr/sbin/hald --use-syslog
    1719                ;;
    1820
    1921        stop)
    2022                boot_mesg "Stopping the HAL Daemon..."
    21                 killproc /usr/sbin/hald
     23                killproc -p $pidfile /usr/sbin/hald
    2224                ;;
    2325
     
    2931
    3032        status)
    31                 statusproc /usr/sbin/hald
     33                statusproc -p $pidfile /usr/sbin/hald
    3234                ;;
    3335
Note: See TracChangeset for help on using the changeset viewer.