summaryrefslogtreecommitdiff
path: root/packages/openslug-init/openslug-init-0.10/sysconfsetup
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openslug-init/openslug-init-0.10/sysconfsetup')
-rw-r--r--packages/openslug-init/openslug-init-0.10/sysconfsetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/sysconfsetup b/packages/openslug-init/openslug-init-0.10/sysconfsetup
index d52f6e12ed..f048dfc9bc 100644
--- a/packages/openslug-init/openslug-init-0.10/sysconfsetup
+++ b/packages/openslug-init/openslug-init-0.10/sysconfsetup
@@ -25,7 +25,7 @@ EOF
strings /etc/linksysconf | grep ip_addr >> /etc/original-network-settings
strings /etc/linksysconf | grep ^netmask >> /etc/original-network-settings
- strings /etc/linksysconf | grep gateway >> /etc/original-network-settings
+ strings /etc/linksysconf | grep ^gateway=. >> /etc/original-network-settings
strings /etc/linksysconf | grep hw_addr >> /etc/original-network-settings
sed -i -e 's/ip_addr=/ address /' /etc/original-network-settings
sed -i -e 's/netmask=/ netmask /' /etc/original-network-settings