CLI command for Saving & Applying configuration changes without rebooting?
-
I have a script I run that pulls assigned port forwards from PIA and adds these ports to an alias every hour. While these ports show up in the alias they are not really open until I manually save/apply the alias. Is there a cli command I can add to the end of my script that saves/applies these changes automatically?
-
Like /etc/rc.reload_all ?
-
Doesn't look like that's working. I've tried it both in the script and through SSH. For whatever reason, this isn't working. Seems to hang my machine. At least the VPN interface.
-
Well, it certainly doesn't hang anything. If you do this over VPN, well then that's a bad idea. If you want something less intrusive, use filter_configure_sync().
Not a fan of similar craptastic hacks like messing with something from CLI that's not supposed to be used from CLI at all.