The following instructions will get you setup to run Dropbox at system start. Below, also find instructions on how to install the Dropbox CLI.
# Login as root and go into home dir.
sudo su && cd ~
# Download Dropbox depending on architecture (uname -a) and unpack.
# You will need to repeat this "download and unpack" step for all users
# on your machine that need Dropbox.
wget -O dropbox.tar.gz https://www.dropbox.com/download/?plat=lnx.x86 # 32 bit
wget -O dropbox.tar.gz https://www.dropbox.com/download/?plat=lnx.x86_64 # 64 bit
tar xvfz dropbox.tar.gz
# Create init file.
touch /etc/init.d/dropbox
chmod 0755 /etc/init.d/dropbox
# Create config file, which will contain info about which system.
# users to start Dropbox on.
# Add to this file:
# DROPBOX_USERS="user1 user2 user3"
touch /etc/sysconfig/dropbox
# Add Dropbox to startup.
chkconfig dropbox on
# Edit /etc/init.d/dropbox and paste in the contents of init.d below.
vi /etc/init.d/dropbox
# Start Dropbox -- note that you will be prompted to link this machine.
service dropbox start
# => This client is not linked to any account...
# => Please visit https://www.dropbox.com/cli_link?host_id=123456 to link this machine.
Here are the instructions on how to install the Dropbox CLI.
# Download Dropbox CLI
wget -O /usr/bin/dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py"
# Make is executable.
chmod a+x /usr/bin/dropbox.py
# Run it to see options.
dropbox.py
paste in the contents of init.d below.
-->
paste in the contents of init.sh below.