diff options
Diffstat (limited to 'desktop/slim/rc.slim')
-rw-r--r-- | desktop/slim/rc.slim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/desktop/slim/rc.slim b/desktop/slim/rc.slim new file mode 100644 index 0000000000..056a163842 --- /dev/null +++ b/desktop/slim/rc.slim @@ -0,0 +1,24 @@ +#!/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 |