-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor lime/rc.d/apply-eb-ip-rules... into a /etc/init.d/firewall-lime
while at it, also stop mangling /etc/firewall.user: create instead /etc/firewall.lime, and "include" it from /etc/config/firewall in addition to standard /etc/firewall.user
- Loading branch information
Showing
9 changed files
with
37 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Essential LiMe eb/iptables rules are placed in /etc/firewall.lime.d/ | ||
# they will be executed during each firewall (re-)start | ||
# or, if firewall package is not installed, just during boot. | ||
# They are interpreted as shell script. | ||
for hook in /etc/firewall.lime.d/* ; do | ||
[ -s "$hook" ] && /bin/sh "$hook" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh /etc/rc.common | ||
# Copyright (C) 2013-2014 OpenWrt.org | ||
|
||
START=99 | ||
|
||
boot() { | ||
if ! /etc/init.d/firewall enabled 2> /dev/null ; then | ||
echo "$0: Firewall is not enabled. Executing /etc/firewall.lime script." | ||
/bin/sh /etc/firewall.lime | ||
fi | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
packages/lime-system/files/etc/lime/rc.d/apply-eb-ip-rules-if-not-fw.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters