mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +00:00
commit
b59136c262
@ -360,7 +360,7 @@ setStaticIPv4() {
|
|||||||
IPADDR=$(echo "${IPv4_address}" | cut -f1 -d/)
|
IPADDR=$(echo "${IPv4_address}" | cut -f1 -d/)
|
||||||
CIDR=$(echo "${IPv4_address}" | cut -f2 -d/)
|
CIDR=$(echo "${IPv4_address}" | cut -f2 -d/)
|
||||||
# Backup existing interface configuration:
|
# Backup existing interface configuration:
|
||||||
cp "${IFCFG_FILE}" "${IFCFG_FILE}".pihole.orig"
|
cp "${IFCFG_FILE}" "${IFCFG_FILE}".pihole.orig
|
||||||
# Build Interface configuration file:
|
# Build Interface configuration file:
|
||||||
{
|
{
|
||||||
echo "# Configured via Pi-Hole installer"
|
echo "# Configured via Pi-Hole installer"
|
||||||
|
Loading…
Reference in New Issue
Block a user