netbase 4.21: add support for fic-gta02, restore formatting, bump PR
authorMichael Lauer <mickey@vanille-media.de>
Sat, 1 Sep 2007 21:46:00 +0000 (21:46 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 1 Sep 2007 21:46:00 +0000 (21:46 +0000)
packages/netbase/netbase/fic-gta02/.mtn2git_empty [new file with mode: 0644]
packages/netbase/netbase/fic-gta02/interfaces [new file with mode: 0644]
packages/netbase/netbase_4.21.bb

diff --git a/packages/netbase/netbase/fic-gta02/.mtn2git_empty b/packages/netbase/netbase/fic-gta02/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/netbase/netbase/fic-gta02/interfaces b/packages/netbase/netbase/fic-gta02/interfaces
new file mode 100644 (file)
index 0000000..090c18a
--- /dev/null
@@ -0,0 +1,28 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+wireless_mode managed
+wireless_essid any
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+auto usb0
+iface usb0 inet static
+       address 192.168.0.202
+       netmask 255.255.255.0
+       network 192.168.0.0
+       gateway 192.168.0.200
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
index f9be318..4bc77b0 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r21"
+PR = "r22"
 
 inherit update-rc.d
 
@@ -21,20 +21,20 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \
            file://init \
            file://hosts \
            file://interfaces \
-          file://if-pre-up.d \
-          file://if-up.d \
-          file://if-down.d \
-          file://if-post-down.d"
+           file://if-pre-up.d \
+           file://if-up.d \
+           file://if-down.d \
+           file://if-post-down.d"
 
 do_install () {
-       install -d ${D}${sysconfdir}/init.d \
-                  ${D}${sbindir} \
-                  ${D}${mandir}/man8 \
-                  ${D}${sysconfdir}/network/if-pre-up.d \
-                  ${D}${sysconfdir}/network/if-up.d \
-                  ${D}${sysconfdir}/network/if-down.d \
-                  ${D}${sysconfdir}/network/if-post-down.d
-                  
+       install -d ${D}${sysconfdir}/init.d
+       install -d ${D}${sbindir}
+       install -d ${D}${mandir}/man8
+       install -d ${D}${sysconfdir}/network/if-pre-up.d
+       install -d ${D}${sysconfdir}/network/if-up.d
+       install -d ${D}${sysconfdir}/network/if-down.d
+       install -d ${D}${sysconfdir}/network/if-post-down.d
+
        for dir in if-pre-up.d if-up.d if-down.d if-post-down.d
        do
                for script in `ls -1 "${WORKDIR}/${dir}"`