5 # Startup init script for BackupPC for solaris.
7 # Distributed with BackupPC version __VERSION__, released __RELEASEDATE__.
14 # You can set the SMB share password here is you wish. Otherwise
15 # you should put it in the config.pl script.
16 # If you put it here make sure this file has no read permissions
17 # for normal users! See the documentation for more information.
20 #export BPC_SMB_PASSWD
22 su __BACKUPPCUSER__ -c "__INSTALLDIR__/bin/BackupPC -d"
26 /usr/bin/pkill -f "__INSTALLDIR__/bin/BackupPC -d"
35 /usr/bin/pkill -1 -f "__INSTALLDIR__/bin/BackupPC -d"
52 echo "Usage: $0 {start|stop|restart|reload}"