diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-09-30 01:00:23 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-09-30 01:00:23 +0200 |
commit | aebf0a08c92abe8a7ae4fda812def246b1bf0266 (patch) | |
tree | d9cda860a25e94fbe9cd92897aa306e4033f2784 /kde3/kdebase3/kdm | |
parent | 2cca2f0b13750835aa49dd4ec4f1be7d9d11c171 (diff) | |
download | nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.tar.gz nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.tar.bz2 nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.tar.xz nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.zip |
ajout de kdebase3#3.5.10-1
Diffstat (limited to 'kde3/kdebase3/kdm')
-rwxr-xr-x | kde3/kdebase3/kdm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kde3/kdebase3/kdm b/kde3/kdebase3/kdm new file mode 100755 index 000000000..c2cb44eca --- /dev/null +++ b/kde3/kdebase3/kdm @@ -0,0 +1,33 @@ +#!/bin/sh +# Begin $rc_base/init.d/kdm + +# $Id: kdm,v 1.4 2008/01/20 22:50:09 install Exp install $ + +. /etc/sysconfig/rc +. $rc_functions +pidfile=/var/run/kdm.pid +case "$1" in + start) + boot_mesg "Starting KDM" + export HOME=/root + cd $HOME + loadproc /opt/kde/bin/kdm + ;; + stop) + boot_mesg "Stopping KDM" + if [ -f $pidfile ]; then + kill `cat $pidfile` + rm $pidfile + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "Usage: $0 start|stop|restart" + ;; +esac + +# End of file + |