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 /etc/init.d | |
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 'etc/init.d')
-rwxr-xr-x | etc/init.d/vyatta-config-reboot-params | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/etc/init.d/vyatta-config-reboot-params b/etc/init.d/vyatta-config-reboot-params deleted file mode 100755 index 6ce48578..00000000 --- a/etc/init.d/vyatta-config-reboot-params +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: vyatta-config-reboot-params -# Required-Start: $local_fs -# Required-Stop: -# X-Start-Before: module-init-tools -# Default-Start: S -# Default-Stop: -# Short-Description: Change system config parameters based on Vyatta configuration -# Description: Provide a way for changing system settings that can only -# be changed on reboot from Vyatta configuration. -### END INIT INFO - -# This script runs very early in the boot process so that parameters -# requiring a reboot get set to the same value as in the config file. -# -# To show how the underlying value can be different than the parameter -# in config file, let's take the case of 'firewall conntrack-hash-size' -# which requires a reboot after it is changed to a different value: user -# sets conntrack-hash-size but doesn't save config; then on reboot -# conntrack module loads with a different value of conntrack-hash-size -# than parameter in config file. When config file loads at a later -# stage, underlying value for conntrack-hash-size gets set to parameter -# in config file but for that to take affect another reboot is required. - -: ${vyatta_env:=/etc/default/vyatta} -source $vyatta_env - -case "$1" in - start) ;; - stop|restart|force-reload|status) exit 0 ;; - *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;; -esac - -declare -x BOOTFILE=$vyatta_sysconfdir/config/config.boot - -# Check if config file exists, exit otherwise -if [ ! -f $BOOTFILE ]; then - exit 0 -fi - -# Execute all subordinate scripts in -# /opt/vyatta/bin/sudo-users/check-params-on-reboot.d -run-parts -a $BOOTFILE /opt/vyatta/bin/sudo-users/check-params-on-reboot.d |