edge " ?ˆl–Ðz¾”d*j"T%õÆß¸”Å£Õ 409À× ™ ?# SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Socket Units Documentation=man:systemd.special(7) " Aˆl–ßi~”Ja,jm@3q–î6Ò˜´oÖ ƒ kÁØ A#!/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 Cˆ ƒM‹ÚÁØ ¬ C
| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| dev | 2026-10-10 09:14 | 4.0K | ||
| power/ | 2026-10-10 09:12 | - | ||
| subsystem/ | 2026-10-10 08:39 | - | ||
| uevent | 2026-10-10 09:14 | 4.0K | ||