Blocklist-Update.sh is a script that I wrote to manage blocklists from bluetack etc to be used in conjunction with Transmission torrent downloader in Linux/MacOS. The script can be taylored to work with Qbittorrent as well, but the placement of the blocklists means you'd have to redirect the blocklist to go somewhere locally manageable as Transmission uses its own blocklist directory in .config. I believe there are about 10 lists there now. It works well for my needs. It can be ran weekly using crontab in standard user profile. To download: blocklist-update.sh To download the others: Github
Recently, I embarked on a journey to try and see if it was possible
to change the current dns settings via terminal for arch-based
systems using NetworkManager service. There were some challenges with
this. Many of my attempts kept getting overwritten at boot. One of
the reasons is that unlike other network services, NetworkManager has
its own way of handling dns settings. The etc resolv.conf file should
be changeable by creating a .head file for it, but that doesn’t
seem to work with Network Manager’s current settings. To make that
work, you have to add two files to NetworkManager’s conf.d
directory. That didn’t fly with me, so I opted to install wicd.
Wicd is an alternate, albeit faster seeming Network management
replacement that really feels lighter to work with. Wicd is often
used for its better compatibility with wireless connectivity. That’s
why I’m considering adding it to the scripts and making a small dns
changer function for it as well. To do this, I’ll have to alter the
way certain things work in the Hosts updating script Hostsman4linux,
but that shouldn’t take too long or be too overwhelming. I am
concerned with how things will look though. Already coming up with a
plan of action as I speak. I am also working on getting something
together which will allow a user with an SSD to alter their i/o
scheduler to noop to better accommodate ssd’s in the future,
however, I am currently using bfq and I think it’s perfect with my
own drives. UPDATE!!!!!! You can now change your scheduler to noop on a per boot basis with the following command: echo "noop" > /sys/block/sda/queue/scheduler but do so from root user. Here’s to hoping things fall into place in a couple of
weeks!!!
Link to grab the current scripts for Linux: https://github.com/jackrabbit335/UsefulLinuxShellScripts
Comments
Post a Comment