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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy