Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 264 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 264 Bytes

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