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

This commit is contained in:
Jeffrey Paul 2018-09-19 11:12:08 -07:00
parent 330ce73491
commit 7c780d51bb

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