diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-09-16 14:29:41 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-09-16 14:29:41 -0700 |
commit | 0e939af7076ddfcc95dd86acb1a11e797ab0b2cf (patch) | |
tree | 17d865e958149c38f02c079e62a2491660aa9df0 /scripts/install-system | |
parent | 1d585211474c30fd62c0a48e96e21170e18c9682 (diff) | |
download | vyatta-cfg-quagga-0e939af7076ddfcc95dd86acb1a11e797ab0b2cf.tar.gz vyatta-cfg-quagga-0e939af7076ddfcc95dd86acb1a11e797ab0b2cf.zip |
add postinst hook for install-system
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-x | scripts/install-system | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system index 8cca9a56..c46ddf42 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -1240,6 +1240,12 @@ 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 |