Hi I am trying to write a script that runs a command to push my usb into another mode but it doesn't seem to be running at boot... I'm not sure what I am doing wrong?
When I run the usb_modeswitch command from ssh it works perfect but only lasts until the router is rebooted, so I was trying make it automatically apply at boot to make my life a bit easier.
Any ideas would be immensely helpful! Thank you in advance!
#!/bin/sh
usb_modeswitch -v 0x1410 -p 0x9020 -u 2
This is the script. I put it in /jffs/scripts and made it executable.usb_modeswitch -v 0x1410 -p 0x9020 -u 2
/jffs/scripts/u620lmodem startup # u620lmodem
I then added the above to the start-services file in the scripts folder.
When I run the usb_modeswitch command from ssh it works perfect but only lasts until the router is rebooted, so I was trying make it automatically apply at boot to make my life a bit easier.
Any ideas would be immensely helpful! Thank you in advance!
Last edited: