summaryrefslogtreecommitdiffstats
path: root/kde3/kdebase3/kdm
diff options
context:
space:
mode:
Diffstat (limited to 'kde3/kdebase3/kdm')
-rwxr-xr-xkde3/kdebase3/kdm7
1 files changed, 6 insertions, 1 deletions
diff --git a/kde3/kdebase3/kdm b/kde3/kdebase3/kdm
index c2cb44eca..cde5d8087 100755
--- a/kde3/kdebase3/kdm
+++ b/kde3/kdebase3/kdm
@@ -14,12 +14,17 @@ case "$1" in
loadproc /opt/kde/bin/kdm
;;
stop)
- boot_mesg "Stopping KDM"
if [ -f $pidfile ]; then
+ boot_mesg "Stopping KDM"
kill `cat $pidfile`
rm $pidfile
+ else
+ statusproc /opt/kde/bin/kdm
fi
;;
+ status)
+ statusproc /opt/kde/bin/kdm
+ ;;
restart)
$0 stop
$0 start