Chris Robinson <[EMAIL PROTECTED]> writes:

> BackupPC is working well.  I just need  to know how to start it on
> power up.
>
> I have put the script into /etc/init.d but it does not work probably
> because it need to run as a user.

You probably need to add the init-script to the startup-list. This is
done differently on various Linux-distros. Gentoo Linux uses a program
to add scrits, so you would type "rc-udate add backuppc default". RedHat
Linux- and Debian Linux-based distros use symlinks in /etc/rc3.d/ or
/etc/rc2.d/ respectively. You can find your default init-level in
/etc/inittab. Make a symlink from ../init.d/backuppc to this directory.

Example (Debian):
        cd /etc/rc2.d/
        ln -s ../init.d/backuppc S99backuppc
        ln -s ../init.d/backuppc K10backuppc

-- 
Regards,

Lars Tobias Børsting


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to