exec_finish_install will run all executable scripts in the
finish_install dir in turn.
Add support to ext4 in mount_partition.sh
move auto_install.py and state_grid.py to text dir
modified: operation/exec_finish_install.sh
new file: operation/finish_install/95state_grid_custom.py
modified: operation/finish_install/99finish_install.sh
new file: operation/finish_install/exec_post_add.sh
modified: operation/install.txt
modified: operation/mount_partition.sh
renamed: AutoInstall/auto_install.py -> text/auto_install.py
renamed: StateGrid/state_grid.py -> text/state_grid.py
14 lines
186 B
Bash
14 lines
186 B
Bash
#!/bin/bash
|
|
|
|
# run post_add scripts
|
|
#
|
|
pkg_dir=/var/lib/pkg
|
|
ls -rt ${pkg_dir}/*.post_add | while read pa_file
|
|
do
|
|
source ${pa_file}
|
|
rm ${pa_file}
|
|
done
|
|
|
|
rm -f $pkg_dir/*-serv.conf
|
|
|