I want to remove "minidlna.log" file after each reboot of router.
I added "rm" command to post-mount script but it doesn't work:
#!/bin/sh
sleep 2m
/opt/etc/init.d/S95Pyload start
rm -f /tmp/mnt/sda5/media/minidlna/minidlna.log
When I do "rm" command manually in putty it works and remove the file.
What is wrong ?
I added "rm" command to post-mount script but it doesn't work:
#!/bin/sh
sleep 2m
/opt/etc/init.d/S95Pyload start
rm -f /tmp/mnt/sda5/media/minidlna/minidlna.log
When I do "rm" command manually in putty it works and remove the file.
What is wrong ?