aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Šimerda <pavlix@pavlix.net>2016-11-14 22:03:34 +0100
committerDee'Kej <deekej@linuxmail.org>2016-11-15 12:08:05 +0100
commit02760563d7ea60bf767812aa0cf5cd97d20a2217 (patch)
tree1b8d7d846b60c450fd8aa3738858a3e8108592c2
parente20a9baff26986d2bbb8201615dd39c9748b7141 (diff)
downloadinitscripts-02760563d7ea60bf767812aa0cf5cd97d20a2217.tar
initscripts-02760563d7ea60bf767812aa0cf5cd97d20a2217.tar.gz
initscripts-02760563d7ea60bf767812aa0cf5cd97d20a2217.tar.bz2
initscripts-02760563d7ea60bf767812aa0cf5cd97d20a2217.tar.xz
initscripts-02760563d7ea60bf767812aa0cf5cd97d20a2217.zip
fix typo in IPV6_SET_SYSCTLS
Typo introduced in commit 432951d. Related: https://github.com/fedora-sysv/initscripts/pull/2 Signed-off-by: Pavel Šimerda <pavlix@pavlix.net>
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6
index 1452da0e..c849d1fa 100755
--- a/sysconfig/network-scripts/ifdown-ipv6
+++ b/sysconfig/network-scripts/ifdown-ipv6
@@ -62,7 +62,7 @@ if [ $? != 0 -a $? != 11 ]; then
exit 1
fi
-if [ ! "$IPV6_SET_SYCTL" = "no" ]; then
+if [ ! "$IPV6_SET_SYSCTLS" = "no" ]; then
# Switch some sysctls to secure mode
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.forwarding=0 >/dev/null 2>&1
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_ra=0 >/dev/null 2>&1