Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
releasetools: add a check to make sure that initscript only runs on T…
Browse files Browse the repository at this point in the history
…amCore-Kernel
  • Loading branch information
tamcore committed Sep 3, 2012
1 parent b557193 commit daaa69b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions releasetools/system/etc/init.d/00tamcore-kernel
Expand Up @@ -32,6 +32,11 @@ FSYNC=1
### DO NOT CHANGE ANYTHING BELLOW THIS LINE! ###
L="log -p i -t $0"

if [[ "`uname -r`" != *TAMCORE* ]]; then
$L "This is not TamCore-Kernel. Exiting..";
exit 0
fi

if [ -e "/data/local/tamcore-kernel.sh" ];
then
$L "Loading /data/local/tamcore-kernel.sh"
Expand Down

0 comments on commit daaa69b

Please sign in to comment.