summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/check-params-on-reboot.d/README6
-rwxr-xr-xscripts/check-params-on-reboot.d/ipv6_disable_blacklist24
2 files changed, 0 insertions, 30 deletions
diff --git a/scripts/check-params-on-reboot.d/README b/scripts/check-params-on-reboot.d/README
deleted file mode 100644
index d54ec338..00000000
--- a/scripts/check-params-on-reboot.d/README
+++ /dev/null
@@ -1,6 +0,0 @@
-# /etc/init.d/vyatta-config-reboot-params script executes scripts placed in
-# this directory when system boots during 'runlevel S'. Scripts placed in this
-# directory are responsible for making sure that the underlying system value of
-# config parameters which require a reboot match when the system boots. All
-# scripts placed in this directory are passed the configuration boot file as
-# an argument. More info in /etc/init.d/vyatta-config-reboot-params
diff --git a/scripts/check-params-on-reboot.d/ipv6_disable_blacklist b/scripts/check-params-on-reboot.d/ipv6_disable_blacklist
deleted file mode 100755
index 2fcb762a..00000000
--- a/scripts/check-params-on-reboot.d/ipv6_disable_blacklist
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# fix IPv6 disable/blacklist on reboot
-#
-
-BOOTFILE=$1
-
-cli-shell-api cfExists $BOOTFILE system ipv6 disable
-ipv6_disable_cfg=`echo $?`
-if [ "$ipv6_disable_cfg" == "0" ]; then
- sudo sh -c "echo options ipv6 disable_ipv6=1 > \
- /etc/modprobe.d/vyatta_disable_ipv6.conf"
-else
- sudo sh -c "rm -f /etc/modprobe.d/vyatta_disable_ipv6.conf"
-fi
-
-cli-shell-api cfExists $BOOTFILE system ipv6 blacklist
-ipv6_blacklist_cfg=`echo $?`
-if [ "$ipv6_blacklist_cfg" == "0" ]; then
- sudo sh -c "echo blacklist ipv6 > \
- /etc/modprobe.d/vyatta_blacklist_ipv6.conf"
-else
- sudo sh -c "rm -f /etc/modprobe.d/vyatta_blacklist_ipv6.conf"
-fi