Allowed rc.txt files as well

This commit is contained in:
Lorenz Meier 2012-12-27 13:17:43 +01:00
parent 9102b25bce
commit c259a34a82
1 changed files with 6 additions and 2 deletions

View File

@ -46,8 +46,12 @@ if [ -f /fs/microsd/etc/rc ]
then
echo "[init] reading /fs/microsd/etc/rc"
sh /fs/microsd/etc/rc
else
echo "[init] script /fs/microsd/etc/rc not present"
fi
# Also consider rc.txt files
if [ -f /fs/microsd/etc/rc.txt ]
then
echo "[init] reading /fs/microsd/etc/rc.txt"
sh /fs/microsd/etc/rc.txt
fi
#