diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 14:03:47 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 14:03:47 +0200 |
commit | c58610211671238bb73eb59a1f9600185fdf2534 (patch) | |
tree | 73933c59c64b13ad918c98e28b94b4dabbccaa5c /desktop/slim/rc.slim | |
parent | 1dcd7db5a42d6df1dbc89f925991d02f9f0cd989 (diff) | |
download | slackbuilds-c58610211671238bb73eb59a1f9600185fdf2534.tar.gz |
desktop/slim: Initial import
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 |