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


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/gpm

    r1d02f01 r1680407  
    1111. /etc/sysconfig/rc
    1212. $rc_functions
     13
     14pidfile=/var/run/gpm.pid
    1315
    1416if [ -f /etc/sysconfig/mouse ]
     
    2729        start)
    2830                boot_mesg "Starting gpm..."
    29                 loadproc /usr/sbin/gpm -m $MDEVICE -t $PROTOCOL $GPMOPTS
     31                loadproc -p $pidfile /usr/sbin/gpm -m $MDEVICE -t $PROTOCOL $GPMOPTS
    3032                ;;
    3133
    3234        stop)
    3335                boot_mesg "Stopping gpm..."
    34                 killproc /usr/sbin/gpm
     36                killproc -p $pidfile /usr/sbin/gpm
    3537                ;;
    3638
     
    4244
    4345        status)
    44                 statusproc /usr/sbin/gpm
     46                statusproc -p $pidfile /usr/sbin/gpm
    4547                ;;
    4648
Note: See TracChangeset for help on using the changeset viewer.