/tmp/do_webmon_backup.sh

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
edfauer
Posts: 6
Joined: Sat Jan 23, 2016 5:00 pm

/tmp/do_webmon_backup.sh

Post 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

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: /tmp/do_webmon_backup.sh

Post by Lantis »

I'll post a conversation i had with another user which should get you on the right track.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: /tmp/do_webmon_backup.sh

Post 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
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

edfauer
Posts: 6
Joined: Sat Jan 23, 2016 5:00 pm

Re: /tmp/do_webmon_backup.sh

Post by edfauer »

Thank you Lantis. This clarifies a lot.

Cheers, Hendrik

Post Reply