diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-09-16 17:46:47 -0700 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-09-16 17:46:47 -0700 |
commit | 8db79c9b0aa8052e4dee0f073e945d68370a0210 (patch) | |
tree | 4b436daacf030d684783252dbc4c2920688efcac /scripts | |
parent | 3315ecc30e870af4ae8f97e0f8fce47d76fec6fa (diff) | |
download | vyatta-cfg-system-8db79c9b0aa8052e4dee0f073e945d68370a0210.tar.gz vyatta-cfg-system-8db79c9b0aa8052e4dee0f073e945d68370a0210.zip |
Don't kill An-Cheng's commits.
Diffstat (limited to 'scripts')
-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 |