aboutsummaryrefslogtreecommitdiff
path: root/rc.proto
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2002-03-11 00:58:34 +0000
committerJudd Vinet <judd@archlinux.org>2002-03-11 00:58:34 +0000
commit14e3f9480a7364200b999477fa4ab9da16884831 (patch)
tree76c3165f0b8c3a65be1919aa7f9fc5dfe79d5379 /rc.proto
parent325b46a6b02aee695658eafe6b714d0e02810e1a (diff)
downloadinitscripts-14e3f9480a7364200b999477fa4ab9da16884831.tar.xz
Removed rc.proto, updated rc.single
Diffstat (limited to 'rc.proto')
-rw-r--r--rc.proto33
1 files changed, 0 insertions, 33 deletions
diff --git a/rc.proto b/rc.proto
deleted file mode 100644
index 3bf45e3..0000000
--- a/rc.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Daemon"
- /usr/sbin/daemon
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon daemon
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Daemon"
- killall -q daemon
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon daemon
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac