Correction sent by Nicolas STRANSKY <Nico@stransky.cx>
[BackupPC.git] / init.d / README
index deee880..afa4a61 100644 (file)
@@ -34,7 +34,19 @@ Debian Linux:
 
 When configure.pl is run, the script debian-backuppc is created.
 
-(Can a Debian user add some instructions here??)
+Copy the debian startup script:
+
+    cp debian-backuppc /etc/init.d/backuppc
+
+Run the following command to install in rc.d:
+
+    update-rc.d backuppc defaults
+
+Set the correct init.d rights:
+
+    chmod 755 /etc/init.d/backuppc
+
+Usage: /etc/init.d/backuppc {start|stop|restart|reload}
 
 Suse Linux:
 ==========
@@ -67,6 +79,24 @@ start automatically at boot (at the default run level):
 
     rc-update add backuppc default
 
+FreeBSD:
+=======
+
+When configure.pl is run, the script freebsd-backuppc is created.
+
+Copy this script to /usr/local/etc/rc.d/backuppc and make execuatble.
+
+Add the following line to /etc/rc.conf to enable BackupPC:
+
+backuppc_enable=(bool):   Set to "NO" by default.
+                          Set it to "YES" to enable BackupPC.
+
+Example:
+
+    backuppc_enable="YES"
+
+The script accepts: start, stop, restart, reload, status
+
 Slackware:
 =========