summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-splash/root/etc/init.d
diff options
context:
space:
mode:
authoryangfl <yangfl@users.noreply.github.com>2018-08-18 12:21:21 +0800
committeryangfl <yangfl@users.noreply.github.com>2018-10-10 15:00:07 +0800
commit401382a459743db941738a645822b443ecfdc596 (patch)
tree5d2a1197f1d6f647091523011b9900eaf2f535b0 /applications/luci-app-splash/root/etc/init.d
parent24d1e7608b23cd80eca41a78916a2a0f2bd224c2 (diff)
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'applications/luci-app-splash/root/etc/init.d')
-rwxr-xr-xapplications/luci-app-splash/root/etc/init.d/luci_splash4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-splash/root/etc/init.d/luci_splash b/applications/luci-app-splash/root/etc/init.d/luci_splash
index feefabd81a..01a606c321 100755
--- a/applications/luci-app-splash/root/etc/init.d/luci_splash
+++ b/applications/luci-app-splash/root/etc/init.d/luci_splash
@@ -237,12 +237,12 @@ start() {
[ -s $IPT_REPLAY ] && . $IPT_REPLAY
echo -n > $IPT_REPLAY
- ### Add interface independant prerouting rules
+ ### Add interface independent prerouting rules
$IPT -t nat -A luci_splash_prerouting -j luci_splash_leases
$IPT -t nat -A luci_splash_leases -p udp --dport 53 -j REDIRECT --to-ports 53
$IPT -t nat -A luci_splash_leases -p tcp --dport 80 -j REDIRECT --to-ports 8082
- ### Add interface independant forwarding rules
+ ### Add interface independent forwarding rules
$IPT -t filter -A luci_splash_forwarding -j luci_splash_filter
$IPT -t filter -A luci_splash_filter -p tcp -j REJECT --reject-with tcp-reset
$IPT -t filter -A luci_splash_filter -j REJECT --reject-with icmp-net-prohibited