I watched the forum for some time, the first post from my side. I tried to implement the proposed method for autostart. I got it set up (link for /etc/config/autostart.sh is there and executable).
The problem so far: not autostart of the script. Some logs after a reboot:
Code: Select all
-rw-r--r-- 1 admin administ 0 May 1 12:03 autorun.ran
Code: Select all
-rw-r--r-- 1 admin administ 21 Apr 9 17:11 .sys_update_time
-rwxr-xr-x 1 admin administ 196 May 1 11:57 autorun.sh*
-rwxr-xr-x 1 admin administ 0 Apr 18 19:22 autorun.sh.OLD*
drwx------ 2 admin administ 12288 Jan 11 2010 lost+found/
-rw-r--r-- 1 admin administ 8076 Apr 19 18:39 smb.conf
Code: Select all
#!/bin/sh
# AUTORUN.SH - "Boot strap"
# This script forces the NAS to run "/etc/config/autorun.sh" at every startup (if this file exists).
#
/etc/config/autorun.sh
touch /tmp/autorun.ran
# done
Code: Select all
-rwxr-xr-x 1 admin administ 237 Apr 19 19:54 autorun.sh*
Code: Select all
#!/bin/sh
#
# /etc/config/autorun.sh - These commands run at every NAS Startup
#
/opt/etc/init.d/S56dnsmasq start
# mount -t nfs -o rw,intr 192.168.1.106:/volume/share /share/backup 1>> /tmp/remoteNFS.log &2>> /tmp/remoteNFS.log
# done
Any help appreciated !
Sorry I missed the type: It's an Qnap 470 Pro Model
Michael