projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'search-3.2.0' of git.rot13.org:/git/BackupPC into search-3.2.0
[BackupPC.git]
/
init.d
/
src
/
linux-backuppc
diff --git
a/init.d/src/linux-backuppc
b/init.d/src/linux-backuppc
index
d43ac48
..
1532722
100755
(executable)
--- a/
init.d/src/linux-backuppc
+++ b/
init.d/src/linux-backuppc
@@
-4,7
+4,7
@@
#
# Startup init script for BackupPC on Redhat linux.
#
#
# 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
#
# chkconfig: - 91 35
# description: Starts and stops the BackupPC server
@@
-29,7
+29,7
@@
start() {
#
# Replace the daemon line below with this:
#
#
# 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: "
# __INSTALLDIR__/bin/BackupPC -d
#
echo -n "Starting BackupPC: "
@@
-45,7
+45,7
@@
stop() {
echo -n "Shutting down BackupPC: "
killproc __INSTALLDIR__/bin/BackupPC
RETVAL=$?
echo -n "Shutting down BackupPC: "
killproc __INSTALLDIR__/bin/BackupPC
RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/backup
c
pc
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/backuppc
echo ""
return $RETVAL
}
echo ""
return $RETVAL
}