From 4d5862053ef2f99d09507b2e9b702aca1229099a Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Mon, 18 Apr 2011 18:00:48 -0700 Subject: * run start-up script vyatta-config-reboot-params very early in boot process This script executes scripts lying in the following directory: /opt/vyatta/bin/sudo-users/check-params-on-reboot.d Scripts in check-params-on-reboot.d are intended for parameters that require a reboot to take effect after they are set/changed. Because of the reboot requirement, underlying value and related config paramter value can become out-of-sync in couple of cases: 1. change parameter value, don't save config, reboot. Underlying value is different than the value in config file. 2. install new image; when new image boots, underlying value is the default Vyatta shipped value not the value in config file. More info: http://bugzilla.vyatta.com/show_bug.cgi?id=6915#c1 This check-in also adds ipv6_disable_blacklist script in check-params-on-reboot.d to fix the above mentioned problem for 'system ipv6 disable' and 'system ipv6 blacklist' --- debian/vyatta-cfg-system.postinst.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 7daa3134..a443b891 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -232,6 +232,9 @@ do fi done +# add vyatta-config-reboot-params to start at boot up +update-rc.d vyatta-config-reboot-params defaults + # Local Variables: # mode: shell-script # sh-indentation: 4 -- cgit v1.2.3