From 8db79c9b0aa8052e4dee0f073e945d68370a0210 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Tue, 16 Sep 2008 17:46:47 -0700 Subject: Don't kill An-Cheng's commits. --- scripts/install-system | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3