forked from hd-zero/hdzero-goggle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hd-zero#425 from SumolX/optimize-bootup-time
Decreased overall bootup time.
- Loading branch information
Showing
11 changed files
with
90 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
#!/bin/sh | ||
|
||
for FILE in $(ls /mnt/app/services/scripts/) | ||
if [ ! -f /mnt/app/services/scripts/install/install.done ]; then | ||
for FILE in $(ls /mnt/app/services/scripts/install/) | ||
do | ||
echo "Installing service: $FILE" | ||
/mnt/app/services/scripts/install/$FILE & | ||
done | ||
touch /mnt/app/services/scripts/install/install.done | ||
fi | ||
|
||
for FILE in $(ls /mnt/app/services/scripts/runtime/) | ||
do | ||
echo "Starting service: $FILE" | ||
/mnt/app/services/scripts/$FILE & | ||
/mnt/app/services/scripts/runtime/$FILE & | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters