Files
new_install/operation/finish_install/95run_post_add.sh
Peng Zhihui 9c1fbe799e exchange the running order of state_grid_custom and run_post_add script
renamed:    operation/finish_install/98run_post_add.sh ->
		    operation/finish_install/95run_post_add.sh
	renamed:    operation/finish_install/95state_grid_custom.py ->
		    operation/finish_install/98state_grid_custom.py
2014-04-15 17:31:24 +08:00

13 lines
271 B
Bash
Executable File

#!/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