Hello everybody
I try to mount a NAS-Storage-Device during the boot on my RT-N66U.
I put the following into a "post-mount" script-file and stored it in "jffs/scripts" (after formating and restarting the router twice) :
#!/bin/sh
mount \\\\192.168.1.100\\ShareName /cifs1 -t cifs -o "username=User,password=Pass" (I changed this line to my conditions)
I made everything executable with:
chmod a+rx /jffs/scripts/*
The script works, if I start it manually. But it does not work during the boot process.
What is my mistake ?
Thanks Garry
I try to mount a NAS-Storage-Device during the boot on my RT-N66U.
I put the following into a "post-mount" script-file and stored it in "jffs/scripts" (after formating and restarting the router twice) :
#!/bin/sh
mount \\\\192.168.1.100\\ShareName /cifs1 -t cifs -o "username=User,password=Pass" (I changed this line to my conditions)
I made everything executable with:
chmod a+rx /jffs/scripts/*
The script works, if I start it manually. But it does not work during the boot process.
What is my mistake ?
Thanks Garry