diff options
Diffstat (limited to 'etc/ncp-config.d/nc-static-IP.sh')
-rw-r--r-- | etc/ncp-config.d/nc-static-IP.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/ncp-config.d/nc-static-IP.sh b/etc/ncp-config.d/nc-static-IP.sh index a76c8963..30f5e9bd 100644 --- a/etc/ncp-config.d/nc-static-IP.sh +++ b/etc/ncp-config.d/nc-static-IP.sh @@ -22,8 +22,8 @@ configure() ## DHCPCD [[ -f /etc/dhcpcd.conf ]] && { # delete NCP config - grep -q "^# NextCloudPlus autogenerated" /etc/dhcpcd.conf && \ - sed -i '/^# NextCloudPlus autogenerated/,+6d' /etc/dhcpcd.conf + grep -q "^# NextCloudPi autogenerated" /etc/dhcpcd.conf && \ + sed -i '/^# NextCloudPi autogenerated/,+6d' /etc/dhcpcd.conf [[ $ACTIVE_ != "yes" ]] && { systemctl restart dhcpcd @@ -32,7 +32,7 @@ configure() } cat >> /etc/dhcpcd.conf <<EOF -# NextCloudPlus autogenerated +# NextCloudPi autogenerated # don't modify! better use ncp-config interface eth0 static ip_address=$IP_/24 |