summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-01-02 11:37:44 +0100
committerDaniil Baturin <daniil@baturin.org>2019-01-02 11:37:44 +0100
commitdf96aa9b43aa7097a337a3e65f83fe7fdc9028ef (patch)
treee6b7ef1e60b8dbb67be500c733c6f428c55b7e8b /debian
parent8a062ec84e9ec4a33a54a8dac020d05407ac1650 (diff)
downloadvyatta-cfg-system-df96aa9b43aa7097a337a3e65f83fe7fdc9028ef.tar.gz
vyatta-cfg-system-df96aa9b43aa7097a337a3e65f83fe7fdc9028ef.zip
T728: use vyos-postconfig-bootup.script name by default for new installations.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 896eb6c6..965563c8 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -121,17 +121,17 @@ chmod -R 775 /opt/vyatta/etc/config
mkdir -p /opt/vyatta/etc/logrotate
mkdir -p /opt/vyatta/etc/netdevice.d
-# create /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
+# create /opt/vyatta/etc/config/scripts/vyos-postconfig-bootup.script
# this should be after 'mkdir -p /opt/vyatta/etc/config/scripts' above
-if [ ! -x /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script ]; then
- touch /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
- chmod 755 /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
- cat <<EOF >>/opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
+if [ ! -x /opt/vyatta/etc/config/scripts/vyos-postconfig-bootup.script ]; then
+ touch /opt/vyatta/etc/config/scripts/vyos-postconfig-bootup.script
+ chmod 755 /opt/vyatta/etc/config/scripts/vyos-postconfig-bootup.script
+ cat <<EOF >>/opt/vyatta/etc/config/scripts/vyos-postconfig-bootup.script
#!/bin/sh
-# This script is called from /etc/rc.local on boot after the Vyatta
-# configuration is fully applied. Any modifications done to work around
-# unfixed bugs and implement enhancements which are not complete in the Vyatta
-# system can be placed here.
+# This script is executed at boot time after VyOS configuration is fully applied.
+# Any modifications required to work around unfixed bugs
+# or use services not available through the VyOS CLI system can be placed here.
+
EOF
fi