diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-26 21:13:53 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-26 21:13:53 +0000 |
commit | e9c470087330f410c9d5dcee98c2c0f6dd0f8c16 (patch) | |
tree | 55dfa5ee5fa3b26c152d1843d135bfba2b692607 /scripts | |
parent | 597004e5520e8f81d0dc1c22d3edcf3b5e836af5 (diff) | |
download | vyatta-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/README | 6 | ||||
-rwxr-xr-x | scripts/check-params-on-reboot.d/ipv6_disable_blacklist | 24 |
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 |