summaryrefslogtreecommitdiff
path: root/system/conserver/config/rc.conserver
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-14 17:19:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-14 17:19:08 -0500
commitd53299b3318df57a083c10d408b6a6fc0fcba8e4 (patch)
tree8c9b210c646fbac42225269f3b42a60a3a5feed7 /system/conserver/config/rc.conserver
parent9c17792398863e2eff4f9496bc4ce1c5ba85b820 (diff)
downloadslackbuilds-d53299b3318df57a083c10d408b6a6fc0fcba8e4.tar.gz
system/conserver: Removed (unmaintained)
Reference: http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-October/006570.html Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/conserver/config/rc.conserver')
-rw-r--r--system/conserver/config/rc.conserver53
1 files changed, 0 insertions, 53 deletions
diff --git a/system/conserver/config/rc.conserver b/system/conserver/config/rc.conserver
deleted file mode 100644
index 715a9663cb..0000000000
--- a/system/conserver/config/rc.conserver
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-# Start/stop/restart the conserver console server daemon.
-
-# Start conserver:
-conserver_start() {
- if [ -x /usr/sbin/conserver -a -d /var/consoles ]; then
- echo "Starting conserver: /usr/sbin/conserver -d -v"
- /usr/sbin/conserver -d -v
- fi
-}
-
-# Stop conserver:
-conserver_stop() {
- /bin/killall conserver
-}
-
-# Restart conserver:
-conserver_restart() {
- conserver_stop
- /bin/sleep 1
- conserver_start
-}
-
-# Reload conserver:
-conserver_reload() {
- /bin/killall -HUP conserver
-}
-
-# Reconnect to any consoles that seem down:
-conserver_reconnect() {
- /bin/killall -USR1 conserver
-}
-
-case "$1" in
-'start')
- conserver_start
- ;;
-'stop')
- conserver_stop
- ;;
-'restart')
- conserver_restart
- ;;
-'reload')
- conserver_reload
- ;;
-'reconnect')
- conserver_reconnect
- ;;
-*)
- echo "usage $0 start|stop|restart|reload|reconnect"
-esac
-