General5
New Around Here
Hi,
I moved entware to /jffs partition after installing it to USB storage.
I installed aria2 package and following is my configuration:
1. move the entware directory from USB storage to /jffs partition.
2. Create a symbol link from /jffs/entware to /tmp/opt
3. Create an init-start script which used to create symbol link from /jffs/entware to /tmp/opt
4. Update the post-mount script to contain two logic
* create symbol link from $1/aria2 to /opt/var/aria2(the download dir inside)
* sleep 10 seconds and restart the aria2 service
The service-start script was called after post-mount script, it did not work in my environment even there is a 30 seconds sleep. Any one can tell me why?
so I added the restart command in post-mount script, it worked.
And is there any bad impact on my router(RT-AC68U)? Data loss in my environment is tolerated.
I moved entware to /jffs partition after installing it to USB storage.
I installed aria2 package and following is my configuration:
1. move the entware directory from USB storage to /jffs partition.
2. Create a symbol link from /jffs/entware to /tmp/opt
3. Create an init-start script which used to create symbol link from /jffs/entware to /tmp/opt
4. Update the post-mount script to contain two logic
* create symbol link from $1/aria2 to /opt/var/aria2(the download dir inside)
* sleep 10 seconds and restart the aria2 service
The service-start script was called after post-mount script, it did not work in my environment even there is a 30 seconds sleep. Any one can tell me why?
so I added the restart command in post-mount script, it worked.
And is there any bad impact on my router(RT-AC68U)? Data loss in my environment is tolerated.