Browse Source

Allow text files (rc.txt) in addition to rc files. We will get a very huge load of complaints and big trouble from the regular user base else.

sbg
Lorenz Meier 12 years ago
parent
commit
d593820bf5
  1. 8
      ROMFS/scripts/rcS

8
ROMFS/scripts/rcS

@ -46,8 +46,12 @@ if [ -f /fs/microsd/etc/rc ] @@ -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
#

Loading…
Cancel
Save