Commit 44108cad authored by Your Name's avatar Your Name
Browse files

added restart_firmware.sh

parent b92e4eb0
#!/bin/bash
cd /home/pi/firmware || exit 1
echo 'firmware processes to be restarted:'
pgrep -fa "pi/firmware"
echo -n 3...
sleep 1
echo -n 2...
sleep 1
echo -n 1...
sleep 1
echo
echo killing processes now...
pkill -f "pi/firmware" || exit 1
sleep 2
echo starting firmware processes now...
sudo ./init.d/rc
echo done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment