0729a50672
BackupPC is a high-performance, enterprise-grade system for backing up Unix, WinXX, and MacOS PCs and laptops to a server's disk. BackupPC is highly configurable and easy to install and maintain. It is written in Perl and extracts backup data via rsync, or tar over ssh/rsh/nfs. With tweaks from and ok aja@
14 lines
255 B
Bash
14 lines
255 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: backuppc.rc,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
|
|
|
|
daemon="${TRUEPREFIX}/bin/BackupPC"
|
|
daemon_flags="-d"
|
|
daemon_user="_backuppc"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="/usr/bin/perl.*BackupPC${daemon_flags:+ ${daemon_flags}}"
|
|
|
|
rc_cmd $1
|