Skip to content

Instantly share code, notes, and snippets.

@jordanemedlock
Last active July 5, 2016 20:51
Show Gist options
  • Save jordanemedlock/e365585bde00dcde5cbf776fa223eb17 to your computer and use it in GitHub Desktop.
Save jordanemedlock/e365585bde00dcde5cbf776fa223eb17 to your computer and use it in GitHub Desktop.
wget https://www.dropbox.com/s/ojxtlkst1lyqekk/security-0.0.1?dl=0 -O security
wget https://gist.githubusercontent.com/jordanemedlock/01abe536e870748ff637bf6f61206510/raw/97231a6fbbcb1fbdc2f7f47aee7ce09a76967326/security-daemon.sh -O security-daemon.sh
mkdir -p /home/pi/Pictures/security
sudo chmod 755 security
sudo chmod 755 security-daemon.sh
sudo cp security-daemon.sh /etc/init.d/
sudo chmod 755 /etc/init.d/security-daemon.sh
sudo update-rc.d security-daemon.sh defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment