danjackson
New Around Here
Hi,
I'm trying to get cifs to auto mount a device once the router has booted and the devices have already got their IP addresses. Currently using init-start user script and its not working which I assume is because the devices connected to the router haven't got their Ip addresses by the time init start runs.
Can anyone suggest an alternative jffs script I could use other than init-start? This is what I have in it:
The command works in shell but I assume thats because the server has already got its IP address/SMB name.
I'm trying to get cifs to auto mount a device once the router has booted and the devices have already got their IP addresses. Currently using init-start user script and its not working which I assume is because the devices connected to the router haven't got their Ip addresses by the time init start runs.
Can anyone suggest an alternative jffs script I could use other than init-start? This is what I have in it:
#!/bin/sh
mount -t cifs -o username=USER,password=PASSWORD //SERVERNAME/SHARENAME /cifs1
The command works in shell but I assume thats because the server has already got its IP address/SMB name.