Duty update: ProxyHelper broke my OS!! While I was hacking around trying to fix the automatic run issue, the script ended up deleting my environment PATH. And turn out sudo requires PATH to work at all, so I thought a restart would fix this, but turns out it won't BOOT at all. So eventually I had to boot from USB and edit environment file to get my OS to boot.
Well, so it was a terrible instance of what could go wrong when you give sudo access to a script. While the master in ProxyHelper should not cause any issue, I think I'll have to recheck them... all the regex... so this kind of thing would never happen to anyone
Yeah, I had to boot from USB and edit environment file ;-;
I don't know... it was some limitation of if-up.d (??) I was running the torpinging script from another bash script and didn't work, but then I completely isolated torpinging from proxy_set and it... just worked!