Page 1 of 1

/tmp/do_webmon_backup.sh

Posted: Fri Feb 12, 2016 7:24 pm
by edfauer
Hallo,

i want to adjust the script /tmp/do_webmon_backup.sh according my needs. But if I restart the router my changes are lost and the original file is there again.
The same happens with /etc/crontab/root
Where does this files comes from, which files I need to change?

Thank you, Hendrik

Gargoyle Version:1.8.0
Model:TP-Link TL-WR841N/ND v8

Re: /tmp/do_webmon_backup.sh

Posted: Fri Feb 12, 2016 8:55 pm
by Lantis
I'll post a conversation i had with another user which should get you on the right track.

Re: /tmp/do_webmon_backup.sh

Posted: Fri Feb 12, 2016 8:57 pm
by Lantis
Tareq wrote:I edit command line and saved changes , but when i power off my router and power on its not work, i noticed that there is same line created automatically in the root file, with previous settings .


Image
Lantis wrote:It looks like it is being overwritten by the firewall start up script.
Lines 384 and 387 of the file gargoyle_firewall_util.sh
I'm not sure where it is in the file system.
Probably /usr/lib/gargoyle/
Tareq wrote:Works fine ,thank you very much.
Tareq wrote:Hi..

i wont to change this line in "root" file also:
0,10,20,30,40,50 * * * * tmp/bw_backup/do_bw_backup.sh


but also it automatically created with default settings.

where can i found it to change it. ?
Lantis wrote:Should be in /etc/init.d/bwmond
On line 259

Re: /tmp/do_webmon_backup.sh

Posted: Sat Feb 13, 2016 4:31 pm
by edfauer
Thank you Lantis. This clarifies a lot.

Cheers, Hendrik