1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Remove some false errors

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-12-26 18:41:14 +01:00
parent 63457ef662
commit 6725ab4c45
3 changed files with 5 additions and 5 deletions

View file

@ -4,9 +4,9 @@ if [ "$(grep usbmode /etc/rc.local)" = "" ]; then
sed -i 's:exit 0::g' /etc/rc.local
cat <<-EOF >> /etc/rc.local
/bin/sleep 5
/sbin/usbmode -l
/sbin/usbmode -l 2>&1 /dev/null
/bin/sleep 3
/sbin/usbmode -s
/sbin/usbmode -s 2>&1 /dev/null
exit 0
EOF
fi