#!/bin/bash

# run post_add scripts
#
source ./functions

cp /usr/lib/new_install/operation/finish_install/exec_post_add.sh $TARGET/opt/

chmod +x $TARGET/opt/exec_post_add.sh

chroot $TARGET /opt/exec_post_add.sh >>$LOG_FILE 2>&1 && rm -rf $TARGET/opt/exec_post_add.sh

