From e9c470087330f410c9d5dcee98c2c0f6dd0f8c16 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jun 2021 21:13:53 +0000 Subject: 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. --- scripts/check-params-on-reboot.d/README | 6 ------ .../ipv6_disable_blacklist | 24 ---------------------- 2 files changed, 30 deletions(-) delete mode 100644 scripts/check-params-on-reboot.d/README delete mode 100755 scripts/check-params-on-reboot.d/ipv6_disable_blacklist (limited to 'scripts') 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 -- cgit v1.2.3