Lantis wrote:Ahh, so if the config file doesn't exist, the "set" command doesn't create it.
Interesting.
Are you comfortable using something like WinSCP to create the file manually?
It will need to be in /etc/config/
The file will be called "tor".
The contents of the file will be:
Code: Select all
config 'global' 'global'
option enabled '0'
Not sure if it is important but the permissions should be
rw-r--r--
If you're not comfortable doing this I can write a script that will do it for you but it would have to wait until later. It's Valentine's Day today and I'm otherwise engaged

I was able to create the Tor file using putty, and the uci command worked this time:
"root@Gargoyle:/etc# uci get tor.global.enabled
0"
Disabled and enabled Adblock:
Sat Feb 13 16:13:56 2016 user.notice ADBLOCK: Enabling adblock plugin
Sat Feb 13 16:13:56 2016 user.notice ADBLOCK: Removing hosts file from dnsmasq
Sat Feb 13 16:13:56 2016 user.notice ADBLOCK: Removing cron entry
Sat Feb 13 16:13:56 2016 user.notice ADBLOCK: Removing firewall rules
Sat Feb 13 16:13:57 2016 user.notice ADBLOCK: Reverting uHTTPd error page
Sat Feb 13 16:13:57 2016 user.notice ADBLOCK: Adding hosts file to dnsmasq
Sat Feb 13 16:13:57 2016 user.notice ADBLOCK: Adding cron entry
Sat Feb 13 16:13:57 2016 user.notice ADBLOCK: Adding firewall rules
Sat Feb 13 16:13:57 2016 user.notice ADBLOCK: Removing old hosts file
Sat Feb 13 16:13:57 2016 user.notice ADBLOCK: Retrieving ad lists from remote source
Sat Feb 13 16:14:00 2016 user.notice ADBLOCK: Adding entries from black.list
Sat Feb 13 16:14:01 2016 user.notice ADBLOCK: Removing entries from white.list
Sat Feb 13 16:14:05 2016 user.notice ADBLOCK: Restarting firewall
Sat Feb 13 16:14:11 2016 user.notice ADBLOCK: Restarting dnsmasq
Interestingly, I still don't have /etc/block.hosts for some reason.
Thank you so much for your help. Go enjoy your valentines! I can wait until you have time.