Hi,
I just getting problems to make a link to my script:
ln /mnt/myscript /bin/myscript
But it doesn't make a link. So I cannot only type "myscript start" as example.
Also I tried these ones:
ln /mnt/myscript /usr/bin/myscript
ln /mnt/myscript /usr/sbin/myscript
With debian linux it is no problem...
What firmware?
With dd-wrt you would just place the script inside any of the following dirs:
/jffs/sbin:/jffs/bin:/jffs/usr/sbin:/jffs/usr/bin:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin:/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin
Firmware: DD-WRT v24-sp2 (04/23/10) mega - build 14311
I can't copy the script in any folder like above.
Everytime: read only...
Folder jffs, mmc and opt are empty!
/jffs /mmc /opt are used when you attach a usb device and mount it.
If you cannot use a usb device then you need to customize the firmware, since /usr/sbin etc. is not writable.
Thx for this info!
I have already a 2GB USB stick connected and automounted on /mnt.
Can I mount it also to /jffs at the same time?
/mnt is also used for FTP storage.