1
0
forked from ports/opt

kdebase: I'm sick of having to manually kill KDM after an upgrade, so /etc/rc.d/kdm will now kill the pid found in /var/run/kdm.pid -- hopefully this will work better

This commit is contained in:
Nick Steeves 2005-12-28 11:03:31 +00:00
parent 8220be469d
commit 39b7115300
2 changed files with 12 additions and 12 deletions

View File

@ -6,7 +6,7 @@
name=kdebase
version=3.5.0
release=2
release=3
source=(http://download.kde.org/stable/3.5/src/$name-$version.tar.bz2 kdm)
build() {

View File

@ -5,20 +5,20 @@
case "$1" in
start)
export HOME=/root
cd $HOME
/usr/bin/kdm
;;
export HOME=/root
cd $HOME
/usr/bin/kdm
;;
stop)
killall /usr/bin/kdm
;;
kill `cat /var/run/kdm.pid`
;;
restart)
$0 stop
$0 start
;;
$0 stop
$0 start
;;
*)
echo "usage: $0 start|stop|restart"
;;
echo "usage: $0 start|stop|restart"
;;
esac
# End of file