1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 19:11:51 +00:00
openmptcprouter-feeds/openmptcprouter/files/etc/uci-defaults/2090-omr-wwan

14 lines
218 B
Text
Raw Normal View History

2020-02-06 07:22:54 +00:00
#!/bin/sh
if [ "$(grep usbmode /etc/rc.local)" = "" ]; then
sed -i 's:exit 0::g' /etc/rc.local
cat <<-EOF >> /etc/rc.local
2020-08-25 07:23:16 +00:00
/bin/sleep 5
2020-02-06 07:22:54 +00:00
/sbin/usbmode -l
2020-08-25 07:23:16 +00:00
/bin/sleep 3
2020-02-06 07:22:54 +00:00
/sbin/usbmode -s
exit 0
EOF
fi
exit 0