Differences between current version and predecessor to the previous major change of BackupExecAgentInitScript.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Sunday, November 28, 2004 12:44:05 am | by AristotlePagaltzis | |
Older page: | version 2 | Last edited on Monday, August 25, 2003 4:07:04 pm | by CraigBox | Revert |
@@ -1,43 +1 @@
-<pre>
-#!/bin/sh
-#
-# Start/stops the Backup Exec agent
.
-# Craig Box, 25/8/03
-#
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/local/bkupexec/agent.be
-CONF=/etc/bkupexec/agent.cfg
-
-# clear conflicting settings from the environment
-unset TMPDIR
-
-# See if the daemon is there
-test -x $DAEMON || exit
-
-case "$1" in
- start)
- echo -n "Starting the Backup Exec agent: agent.be"
- start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
- echo "."
- ;;
- stop)
- echo -n "Stopping the Backup Exec agent: agent.be"
- start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
- echo "."
- ;;
- restart|force-reload)
- echo -n "Restarting the Backup Exec agent: agent.be"
- start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
- sleep 2
- start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
- echo "."
- ;;
- *)
- echo "Usage: /etc/init.d/bkupexec {start|stop|restart|force-reload}"
- exit 1
- ;;
-esac
-
-exit
-</pre>
+Describe [BackupExecAgentInitScript] here
.