linkpi_firmware_history/rootfs/link/shell/enc.sh

11 lines
138 B
Bash

while [ true ]
do
if [ -f "/root/usb/Tester" ]; then
chmod 777 /root/usb/Tester
/root/usb/Tester
else
/link/bin/Encoder
fi
sleep 2
done