summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 21:13:53 +0000
committerChristian Poessinger <christian@poessinger.com>2021-06-26 21:13:53 +0000
commite9c470087330f410c9d5dcee98c2c0f6dd0f8c16 (patch)
tree55dfa5ee5fa3b26c152d1843d135bfba2b692607 /scripts
parent597004e5520e8f81d0dc1c22d3edcf3b5e836af5 (diff)
downloadvyatta-cfg-system-e9c470087330f410c9d5dcee98c2c0f6dd0f8c16.tar.gz
vyatta-cfg-system-e9c470087330f410c9d5dcee98c2c0f6dd0f8c16.zip
Debian: remove deprecated vyatta-config-reboot-params script
Actions are now handled in vyos-router script on startup by calling the vyos-1x Python handler scripts.
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