Logo
Explore Help
Sign In
domenico/openwrt_NSS_ACW
1
0
Fork 0
You've already forked openwrt_NSS_ACW
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
18a79362e9838f83ff3e01871750598d92b095bb
openwrt_NSS_ACW/package/firewall/files/firewall.init
Jo-Philipp Wich de15765a37 firewall: - defer firewall start until the first interface is brought up by hotplug, fixes race conditions on slow devices - create a file lock during firewall start and wait for it in hotplug events, prevents race conditions between start and addif - start firewall actions in background from hotplug handler since the firewall itself fires further hotplug events which results in a deadlock if not forked off - get loaded state direcly from the uci binary since updated value is not recognized by config_get after uci_set_state - bump package revision to r2
SVN-Revision: 21486
2010-05-17 12:47:14 +00:00

30 lines
243 B
Bash
Executable File
Raw Blame History

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=45
FW_LIBDIR=/lib/firewall
fw() {
. $FW_LIBDIR/core.sh
fw_$1
}
boot() { :; }
start() {
fw start
}
stop() {
fw stop
}
restart() {
fw restart
}
reload() {
fw reload
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 399ms Template: 53ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API