summaryrefslogtreecommitdiff
path: root/contrib/redhat
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2009-03-31 15:58:19 +0200
committerReinhard Tartler <siretart@tauware.de>2009-03-31 15:58:19 +0200
commit25db897553a0db0f912602b375029e724f51556e (patch)
tree613c8c23e22481e31a4d2f474e022ad87728da24 /contrib/redhat
parent2787035d98661881477d696403ca2a78b49322d5 (diff)
Import upstream version 0.11~rc2+r2072
Diffstat (limited to 'contrib/redhat')
-rwxr-xr-xcontrib/redhat/bbackupd83
-rwxr-xr-xcontrib/redhat/bbstored83
2 files changed, 0 insertions, 166 deletions
diff --git a/contrib/redhat/bbackupd b/contrib/redhat/bbackupd
deleted file mode 100755
index 71deab1b..00000000
--- a/contrib/redhat/bbackupd
+++ /dev/null
@@ -1,83 +0,0 @@
-#! /bin/bash
-#
-# bbackupd Start/Stop the box backup client daemon.
-#
-# chkconfig: 345 93 07
-# description: bbackupd is the client side deamon for Box Backup, \
-# a completely automatic on-line backup system.
-# processname: bbackupd
-# config: /etc/box
-# pidfile: /var/run/bbackupd.pid
-
-# Source function library.
-. /etc/init.d/functions
-
-RETVAL=0
-
-# See how we were called.
-
-prog="bbackupd"
-
-# Check that configuration exists.
-[ -f /etc/box/$prog.conf ] || exit 0
-
-start() {
- echo -n $"Starting $prog: "
- daemon $prog
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
- return $RETVAL
-}
-
-stop() {
- echo -n $"Stopping $prog: "
- killproc $prog
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
- return $RETVAL
-}
-
-rhstatus() {
- status $prog
-}
-
-restart() {
- stop
- start
-}
-
-reload() {
- echo -n $"Reloading $prog configuration: "
- killproc $prog -HUP
- retval=$?
- echo
- return $RETVAL
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- restart
- ;;
- reload)
- reload
- ;;
- status)
- rhstatus
- ;;
- condrestart)
- [ -f /var/lock/subsys/$prog ] && restart || :
- ;;
- *)
- echo $"Usage: $0 {start|stop|status|reload|restart|condrestart}"
- exit 1
-esac
-
-exit $?
diff --git a/contrib/redhat/bbstored b/contrib/redhat/bbstored
deleted file mode 100755
index 09e2b490..00000000
--- a/contrib/redhat/bbstored
+++ /dev/null
@@ -1,83 +0,0 @@
-#! /bin/bash
-#
-# bbstored Start/Stop the box backup server daemon.
-#
-# chkconfig: 345 93 07
-# description: bbstored is the server side daemon for Box Backup, \
-# a completely automatic on-line backup system.
-# processname: bbstored
-# config: /etc/box
-# pidfile: /var/run/bbstored.pid
-
-# Source function library.
-. /etc/init.d/functions
-
-RETVAL=0
-
-# See how we were called.
-
-prog="bbstored"
-
-# Check that configuration exists.
-[ -f /etc/box/$prog.conf ] || exit 0
-
-start() {
- echo -n $"Starting $prog: "
- daemon $prog
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
- return $RETVAL
-}
-
-stop() {
- echo -n $"Stopping $prog: "
- killproc $prog
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
- return $RETVAL
-}
-
-rhstatus() {
- status $prog
-}
-
-restart() {
- stop
- start
-}
-
-reload() {
- echo -n $"Reloading $prog configuration: "
- killproc $prog -HUP
- retval=$?
- echo
- return $RETVAL
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- restart
- ;;
- reload)
- reload
- ;;
- status)
- rhstatus
- ;;
- condrestart)
- [ -f /var/lock/subsys/$prog ] && restart || :
- ;;
- *)
- echo $"Usage: $0 {start|stop|status|reload|restart|condrestart}"
- exit 1
-esac
-
-exit $?