Use saved IP address on boot

This commit is contained in:
Joris van Rantwijk 2024-09-24 08:37:16 +02:00
parent c3398e9e1d
commit 762097017d
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# Read IP address configuration from SD card.
#
case "$1" in
start)
/opt/puzzlefw/bin/puzzle-ipcfg init
;;
stop|restart|reload)
;;
*)
echo "Usage: $0 start"
exit 1
esac