Move post install files to system package

This commit is contained in:
Ingo Weinhold
2011-07-17 16:54:46 +02:00
parent df18eb8718
commit 64b8c37680
3 changed files with 12 additions and 10 deletions
+3 -2
View File
@@ -178,14 +178,15 @@ if [ "$SAFEMODE" != "yes" ]; then
fi
# Check for fresh install and run post install scripts.
postInstallDir=/boot/common/boot/post_install
postInstallDir=boot/post_install
freshInstallIndicator=/boot/common/settings/fresh_install
if [ -e $freshInstallIndicator ]; then
# wait a moment for things to calm down a bit
sleep 3
# execute scripts
for f in $postInstallDir/*.sh; do
for f in /boot/system/$postInstallDir/*.sh /boot/common/$postInstallDir/*.sh
do
if [ -f $f ]; then
echo "Running post install script $f ..." > /dev/dprintf
$f