summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-09-16 17:46:47 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-09-16 17:46:47 -0700
commit8db79c9b0aa8052e4dee0f073e945d68370a0210 (patch)
tree4b436daacf030d684783252dbc4c2920688efcac /scripts/install-system
parent3315ecc30e870af4ae8f97e0f8fce47d76fec6fa (diff)
downloadvyatta-cfg-system-8db79c9b0aa8052e4dee0f073e945d68370a0210.tar.gz
vyatta-cfg-system-8db79c9b0aa8052e4dee0f073e945d68370a0210.zip
Don't kill An-Cheng's commits.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 33f54534..b3964378 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -1274,6 +1274,13 @@ if ! eval "$UNION"; then
sed -i 's/requisite[ \t][ \t]*pam_securetty.so/required pam_securetty.so/' $rootfsdir/etc/pam.d/login
fi
+# postinst hook
+if [ -e /opt/vyatta/etc/install-system/postinst ]; then
+ echo "running post-install script"
+ /opt/vyatta/etc/install-system/postinst $rootfsdir >>$INSTALL_LOG
+fi
+
+
cp $INSTALL_LOG $rootfsdir/install.log
umount $rootfsdir