diff options
-rwxr-xr-x | scripts/install-system | 7 |
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 |