⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 init.slackware.firewall.sh

📁 sharewall is very good
💻 SH
字号:
#!/bin/sh## /etc/rc.d/rc.firewall:  Shoreline Firewall (Shorewall) initialization script.## This script starts both the IPv4 and IPv6 shorewall rules if the respective# scripts (rc.shorewall and rc.shorewall6) are present and executablestart() {	if [ -x /etc/rc.d/rc.shorewall ]; then		/etc/rc.d/rc.shorewall start	fi	if [ -x /etc/rc.d/rc.shorewall6 ]; then		/etc/rc.d/rc.shorewall6 start	fi}stop() {	if [ -x /etc/rc.d/rc.shorewall ]; then		/etc/rc.d/rc.shorewall stop	fi	if [ -x /etc/rc.d/rc.shorewall6 ]; then		/etc/rc.d/rc.shorewall6 stop	fi}restart() {	if [ -x /etc/rc.d/rc.shorewall ]; then		/etc/rc.d/rc.shorewall restart	fi	if [ -x /etc/rc.d/rc.shorewall6 ]; then		/etc/rc.d/rc.shorewall6 restart	fi}status() {	if [ -x /etc/rc.d/rc.shorewall ]; then		/etc/rc.d/rc.shorewall status	fi	if [ -x /etc/rc.d/rc.shorewall6 ]; then		/etc/rc.d/rc.shorewall6 status	fi}case $1 in 	'start')		start	;;	'stop')		stop	;;	'restart')		restart	;;	'status')		status	;;	*)		echo "Usage: $0 {start|stop|restart|status}"		exit 1	;;esacexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -