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


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

    r1d02f01 r1680407  
    1111. $rc_functions
    1212
    13 export PATH=$PATH:/opt/gnome-2.18.3/bin:/opt/gnome-2.18.3/sbin
     13pidfile=/var/run/gdm.pid
     14
     15export PATH=$PATH:/opt/gnome/bin:/opt/gnome/sbin
    1416
    1517case "$1" in
    1618        start)
    1719                boot_mesg "Starting GDM..."
    18                 loadproc gdm
     20                loadproc -p $pidfile gdm
    1921                ;;
    2022
    2123        stop)
    2224                boot_mesg "Stopping GDM..."
    23                 if [ -f /var/run/gdm.pid ]; then
     25                if [ -f $pidfile ]; then
    2426                        loadproc gdm-stop
    2527                fi
Note: See TracChangeset for help on using the changeset viewer.