mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
24 lines
255 B
Text
24 lines
255 B
Text
#!/bin/sh
|
|
#
|
|
# /etc/rc.d/slim: start/stop slim
|
|
#
|
|
|
|
case $1 in
|
|
start)
|
|
/usr/bin/slim -d
|
|
;;
|
|
stop)
|
|
killall /usr/bin/slim
|
|
rm -f /var/run/slim.lock
|
|
;;
|
|
restart)
|
|
$0 stop
|
|
sleep 2
|
|
$0 start
|
|
;;
|
|
*)
|
|
echo "usage: $0 [start|stop|restart]"
|
|
;;
|
|
esac
|
|
|
|
# End of file
|