summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-05-11 11:30:45 -0700
committerMohit Mehta <mohit@vyatta.com>2011-05-11 11:30:45 -0700
commit4d7fedd8dca4022c1266e16796fd03132d7d2634 (patch)
tree4a3d06149528b2e86310fe1c93dbb6452466d5fe /debian/vyatta-cfg-system.postinst.in
parentdba5705ec29dc535a91cea4527ff82254fc07e05 (diff)
downloadvyatta-cfg-system-4d7fedd8dca4022c1266e16796fd03132d7d2634.tar.gz
vyatta-cfg-system-4d7fedd8dca4022c1266e16796fd03132d7d2634.zip
Fix Bug 7012 make /config available with init-floppy
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index d9663245..177dee6d 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -193,7 +193,7 @@ then
# Do not remove the following call to vyatta-postconfig-bootup.script.
# Any boot time workarounds should be put in script below so that they
# get preserved for the new image during image upgrade.
-/opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
+sudo /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
EOF
sh -c "sed -i -e '/exit 0/d' /etc/rc.local"
cat <<EOF >>/etc/rc.local