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
13 lines
271 B
Bash
Executable File
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
|
|
|