From bdea7e6c6a535e57a07d376a3139d0788efaaa41 Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Thu, 23 Feb 2006 15:26:10 +0000 Subject: create branch for 2.2 --- slim/slim.rc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 slim/slim.rc (limited to 'slim/slim.rc') diff --git a/slim/slim.rc b/slim/slim.rc new file mode 100644 index 000000000..26fd66821 --- /dev/null +++ b/slim/slim.rc @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/slim: start/stop slim +# + +case $1 in +start) + /usr/bin/slim -d + ;; +stop) + killall /usr/bin/slim + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "usage: $0 [start|stop|restart]" + ;; +esac + +# End of file -- cgit v1.2.3