]> git.nbdom.net Git - nb.git/commitdiff
mac_iptables_reload
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 15 Jan 2017 18:11:29 +0000 (18:11 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 15 Jan 2017 18:11:29 +0000 (18:11 +0000)
etc/profile.d/mac.sh

index 6aaa10ca41db86e58c3ec0a18d533862307acbdd..09f07809e5731f583cf62a6e1fd8267c359fdafa 100644 (file)
@@ -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'