From: Nicolas Boisselier Date: Sun, 15 Jan 2017 18:11:29 +0000 (+0000) Subject: mac_iptables_reload X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=f72bea658ee55a740c636c2a11ea6a5404100b75;p=nb.git mac_iptables_reload --- diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index 6aaa10ca..09f07809 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -35,6 +35,7 @@ seq() { } fi +alias mac_iptables_reload="pfctl -d; pfctl -f /etc/pf.conf -e" alias mac_top_proc="echo 'TOP PROCESSES:'; ps -Aro'%cpu, ucomm, user' | grep root | grep -v ' 0.0 '" alias mac_sleep='pmset sleepnow' alias mac_mount_nfs='sudo mount -o resvport -t nfs'