PATH:
etc
/
alternatives
#!/usr/bin/sh ARPTABLES_CONFIG=/etc/sysconfig/arptables # compat for removed initscripts dependency success() { echo "[ OK ]" return 0 } failure() { echo "[FAILED]" return 1 } start() { if [ ! -x /usr/sbin/arptables ]; then exit 4 fi # don't do squat if we don't have the config file if [ -f $ARPTABLES_CONFIG ]; then printf "Applying arptables firewall rules: " /usr/sbin/arptables-restore < $ARPTABLES_CONFIG && \ success || \ failure touch /var/lock/subsys/arptables else failure echo "Configuration file /etc/sysconfig/arptables missing" exit 6 fi } stop() { printf "Removing user defined chains: " arptables -X && success || failure printf "Flushing all chains: " arptables -F && success || failure printf "Resetting built-in chains to the default ACCEPT policy: " arptables -P INPUT ACCEPT && \ arptables -P OUTPUT ACCEPT && \ success || \ failure rm -f /var/lock/subsys/arptables } case "$1" in start) start ;; stop) stop ;; restart|reload) # "restart" is really just "start" as this isn't a daemon, # and "start" clears any pre-defined rules anyway. # This is really only here to make those who expect it happy start ;; condrestart|try-restart|force-reload) [ -e /var/lock/subsys/arptables ] && start ;; *) exit 2 esac exit 0
[-] iptables-restore
[edit]
[-] ip6tables-restore
[edit]
[-] soelim.1.gz
[edit]
[-] Mail
[edit]
[-] links
[edit]
[-] ebtables-save
[edit]
[-] man.7.gz
[edit]
[-] links-man
[edit]
[-] Mail.1.gz
[edit]
[-] arptables-save
[edit]
[-] nail
[edit]
[-] nc-man
[edit]
[-] soelim
[edit]
[-] arptables-save-man
[edit]
[-] ebtables-restore
[edit]
[-] man.1.gz
[edit]
[-] mailx
[edit]
[-] mail
[edit]
[-] ip6tables
[edit]
[-] modules.sh
[edit]
[-] nail.1.gz
[edit]
[-] man
[edit]
[-] ld
[edit]
[-] libnssckbi.so.x86_64
[edit]
[-] ebtables-man
[edit]
[-] modulecmd
[edit]
[-] arptables-helper
[edit]
[+]
..
[-] ebtables
[edit]
[-] arptables
[edit]
[-] arptables-restore
[edit]
[-] arptables-man
[edit]
[-] modules.csh
[edit]
[-] nc
[edit]
[-] apropos.1.gz
[edit]
[-] whatis.1.gz
[edit]
[-] ip6tables-save
[edit]
[-] mail.1.gz
[edit]
[-] iptables
[edit]
[-] apropos
[edit]
[-] iptables-save
[edit]
[-] mailx.1.gz
[edit]
[-] cifs-idmap-plugin
[edit]
[-] arptables-restore-man
[edit]
[-] whatis
[edit]