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:
parent
8220be469d
commit
39b7115300
@ -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() {
|
||||
|
22
kdebase/kdm
22
kdebase/kdm
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user