moved copying of tables.sql after the strongswan installation

This commit is contained in:
Andreas Steffen
2008-06-05 07:25:27 +00:00
parent 89c87995e2
commit da4ad32547
+6 -6
View File
@@ -101,12 +101,6 @@ rm -f $LOOPDIR/etc/resolv.conf
cecho " * Copying '$HOSTCONFIGDIR/default/etc/hosts' to the root filesystem"
cp -fp $HOSTCONFIGDIR/default/etc/hosts $LOOPDIR/etc/hosts
######################################################
# copying default /etc/ipsec.d/tables.sql to the root filesystem
#
cecho " * Copying '$HOSTCONFIGDIR/default/etc/ipsec.d/tables.sql' to the root filesystem"
cp -fp $HOSTCONFIGDIR/default/etc/ipsec.d/tables.sql $LOOPDIR/etc/ipsec.d/tables.sql
#####################################################
# extracting strongSwan into the root filesystem
#
@@ -196,6 +190,12 @@ chroot $LOOPDIR /bin/bash /install.sh >> $LOGFILE 2>&1
rm -f $INSTALLSHELL
cgecho "done"
######################################################
# copying default /etc/ipsec.d/tables.sql to the root filesystem
#
cecho " * Copying '$HOSTCONFIGDIR/default/etc/ipsec.d/tables.sql' to the root filesystem"
cp -fp $HOSTCONFIGDIR/default/etc/ipsec.d/tables.sql $LOOPDIR/etc/ipsec.d/tables.sql
######################################################
# copying the host's ssh public key
#