Vinicius Cordeiro
New Around Here
Hi,
After update to 378.50+ and did a factory reset, installed entware again, etc, now the router is not running /jffs/scripts/post-mount, then every boot I need to manually create entware link to /opt
After update to 378.50+ and did a factory reset, installed entware again, etc, now the router is not running /jffs/scripts/post-mount, then every boot I need to manually create entware link to /opt
Code:
admin@RT-AC66R:/jffs/scripts# ls -la
drwxr-xr-x 2 admin root 0 Mar 1 23:51 .
drwxr-xr-x 5 admin root 0 Dec 31 1969 ..
-rwxrwxrwx 1 admin root 80 Mar 1 23:51 post-mount
-rwxrwxrwx 1 admin root 53 Mar 1 23:51 services-start
-rwxrwxrwx 1 admin root 43 Mar 1 23:51 services-stop
admin@RT-AC66R:/jffs/scripts# cat post-mount
#!/bin/sh
if [ $1 = "/tmp/mnt/RT-AC66R" ]
then
ln -sf $1/entware /tmp/opt
fi