summaryrefslogtreecommitdiff
path: root/packages/openslug-init
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openslug-init')
-rw-r--r--packages/openslug-init/openslug-init-0.10/modutils.txt5
-rw-r--r--packages/openslug-init/openslug-init-0.10/sysconfsetup2
-rw-r--r--packages/openslug-init/openslug-init_0.10.bb4
3 files changed, 5 insertions, 6 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/modutils.txt b/packages/openslug-init/openslug-init-0.10/modutils.txt
index 3c0301c3d8..5b4d9938c5 100644
--- a/packages/openslug-init/openslug-init-0.10/modutils.txt
+++ b/packages/openslug-init/openslug-init-0.10/modutils.txt
@@ -1,5 +1,2 @@
# Adding modules to be automatically loaded via update-modules
-#ixp425_eth leave this one to sysconfsetup for now because it loads
-#too late for first boot
-#ehci-hcd these are now compiled into the kernel
-#ohci-hcd ditto
+ehci-hcd
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
diff --git a/packages/openslug-init/openslug-init_0.10.bb b/packages/openslug-init/openslug-init_0.10.bb
index 7be1798965..9960988561 100644
--- a/packages/openslug-init/openslug-init_0.10.bb
+++ b/packages/openslug-init/openslug-init_0.10.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Openslug initial network config via sysconf"
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "base-files"
-PR = "r13"
+PR = "r15"
SRC_URI = "file://sysconfsetup \
file://modutils.txt \
@@ -43,3 +43,5 @@ do_install() {
}
FILES_${PN} = "/"
+
+CONFFILES_${PN} = "${sysconfdir}/modutils/modutils.txt ${sysconfdir}/modprobe.conf"