From: Hamish Guthrie Date: Wed, 18 May 2011 11:50:36 +0000 (+0000) Subject: Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh X-Git-Tag: reboot~16731 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=e7dfadd012b0bcafce5ff4de23782d0c3d9acbdd;ds=sidebyside Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh SVN-Revision: 26932 --- diff --git a/target/linux/omap35xx/base-files/etc/config/network b/target/linux/omap35xx/base-files/etc/config/network deleted file mode 100644 index 2ea5a4b048..0000000000 --- a/target/linux/omap35xx/base-files/etc/config/network +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright (C) 2006 OpenWrt.org - -config interface loopback - option ifname lo - option proto static - option ipaddr 127.0.0.1 - option netmask 255.0.0.0 - -config interface lan - option ifname usb0 - option type bridge - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 diff --git a/target/linux/omap35xx/base-files/etc/inittab b/target/linux/omap35xx/base-files/etc/inittab deleted file mode 100644 index 88567b245f..0000000000 --- a/target/linux/omap35xx/base-files/etc/inittab +++ /dev/null @@ -1,7 +0,0 @@ -::sysinit:/etc/init.d/rcS S boot -::shutdown:/etc/init.d/rcS K shutdown -tts/0::askfirst:/bin/ash --login -ttyS0::askfirst:/bin/ash --login -ttyS1::askfirst:/bin/ash --login -ttyS2::askfirst:/bin/ash --login -tty1::askfirst:/bin/ash --login diff --git a/target/linux/omap35xx/beagleboard/base-files/etc/config/network b/target/linux/omap35xx/beagleboard/base-files/etc/config/network new file mode 100644 index 0000000000..2ea5a4b048 --- /dev/null +++ b/target/linux/omap35xx/beagleboard/base-files/etc/config/network @@ -0,0 +1,14 @@ +# Copyright (C) 2006 OpenWrt.org + +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname usb0 + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 diff --git a/target/linux/omap35xx/beagleboard/base-files/etc/inittab b/target/linux/omap35xx/beagleboard/base-files/etc/inittab new file mode 100644 index 0000000000..88567b245f --- /dev/null +++ b/target/linux/omap35xx/beagleboard/base-files/etc/inittab @@ -0,0 +1,7 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +tts/0::askfirst:/bin/ash --login +ttyS0::askfirst:/bin/ash --login +ttyS1::askfirst:/bin/ash --login +ttyS2::askfirst:/bin/ash --login +tty1::askfirst:/bin/ash --login diff --git a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh deleted file mode 100644 index 7e53b62a37..0000000000 --- a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh +++ /dev/null @@ -1,440 +0,0 @@ -#!/bin/sh -append DRIVERS "mac80211" - -mac80211_hostapd_setup_base() { - local phy="$1" - local ifname="$2" - - cfgfile="/var/run/hostapd-$phy.conf" - config_get device "$vif" device - config_get country "$device" country - config_get hwmode "$device" hwmode - config_get channel "$device" channel - config_get_bool noscan "$device" noscan - [ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device" - [ "$channel" = auto ] && channel= - [ -n "$hwmode" ] && { - config_get hwmode_11n "$device" hwmode_11n - [ -n "$hwmode_11n" ] && { - hwmode="$hwmode_11n" - append base_cfg "ieee80211n=1" "$N" - config_get htmode "$device" htmode - config_get ht_capab_list "$device" ht_capab - case "$htmode" in - HT20|HT40+|HT40-) ht_capab="[$htmode]";; - *)ht_capab=;; - esac - for cap in $ht_capab_list; do - ht_capab="$ht_capab[$cap]" - done - [ -n "$ht_capab" ] && append base_cfg "ht_capab=$ht_capab" "$N" - } - } - cat > "$cfgfile" <