#
# Startup init script for BackupPC on Redhat linux.
#
-# Distributed with BackupPC version 1.5.0, released 2 Aug 2002.
+# Distributed with BackupPC version __VERSION__, released __RELEASEDATE__.
#
# chkconfig: - 91 35
# description: Starts and stops the BackupPC server
#
# Replace the daemon line below with this:
#
- # daemon --user __BACKUPPCUSER__ /usr/bin/env PASSWD=xxxxx \
+ # daemon --user __BACKUPPCUSER__ /usr/bin/env BPC_SMB_PASSWD=xxxxx \
# __INSTALLDIR__/bin/BackupPC -d
#
echo -n "Starting BackupPC: "
echo -n "Shutting down BackupPC: "
killproc __INSTALLDIR__/bin/BackupPC
RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/backupcpc
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/backuppc
echo ""
return $RETVAL
}