add support for /boot/rc.local.txt if exists
This commit is contained in:
parent
330ce73491
commit
7c780d51bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user