/ups

Primary LanguageShell

bash script to talk to the ups board

#change the permissions for the script

sudo chmod +x ups.sh

#copy the script to the init.d directory to run the script on startup

sudo cp ups.sh /etc/init.d/

#update the rc file

sudo update-rc.d ups.sh defaults