Run Bittorrent Sync automatically on Linux startup

If you normally start btsync manually, you can easily make it start automatically on boot.

Say your normal command to start btsync was:

 

Create a file in a location such as /opt/btsync.startup containing the above command.

Create a link to it in /etc/init.d

This will allow you to start btsync using

Then, to make it automatically start, add it to a runlevel, e.g. for runlevel 2, which is where my Raspberry Pi seems to spend most of its time: