8 lines
190 B
Bash
8 lines
190 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
ip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||
|
|
||
|
sed -i -e "s/MY_IP_HERE/${ip}/g" /srv/tftpboot/menu/boot.ipxe
|
||
|
|
||
|
service dnsmasq start
|
||
|
service mini_httpd start
|