add support for /boot/rc.local.txt if exists

pull/207/head
Jeffrey Paul 2018-09-19 11:12:08 -07:00
parent 330ce73491
commit 7c780d51bb
1 changed files with 5 additions and 0 deletions

View File

@ -17,4 +17,9 @@ if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# run an rc.local.txt from the boot partition, if one exists.
if [[ -e /boot/rc.local.txt ]]; then
source /boot/rc.local.txt
fi
exit 0