summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-12-25 13:03:18 +0000
committerPacho Ramos <pacho@gentoo.org>2012-12-25 13:03:18 +0000
commit64b5a963a47ff63afd981fba6f150ed850024866 (patch)
tree23cca4b13950efa249b1f166aa3dab8c00da6f68 /net-wireless/linux-wlan-ng/files
parentDrop masked for removal package (diff)
downloadgentoo-2-64b5a963a47ff63afd981fba6f150ed850024866.tar.gz
gentoo-2-64b5a963a47ff63afd981fba6f150ed850024866.tar.bz2
gentoo-2-64b5a963a47ff63afd981fba6f150ed850024866.zip
Drop masked for removal package
Diffstat (limited to 'net-wireless/linux-wlan-ng/files')
-rw-r--r--net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch12
-rw-r--r--net-wireless/linux-wlan-ng/files/linux-wlan-ng-gentoo-init97
2 files changed, 0 insertions, 109 deletions
diff --git a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch b/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch
deleted file mode 100644
index c504213aefeb..000000000000
--- a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur linux-wlan-ng-0.2.3.old/etc/wlan/shared linux-wlan-ng-0.2.3/etc/wlan/shared
---- linux-wlan-ng-0.2.3.old/etc/wlan/shared 2006-06-23 13:52:27.100566344 +0300
-+++ linux-wlan-ng-0.2.3/etc/wlan/shared 2006-06-23 13:52:51.393873200 +0300
-@@ -71,7 +71,7 @@
- fi
-
- if [ -f /proc/sys/kernel/hotplug -a \
-- -x `cat /proc/sys/kernel/hotplug` -a \
-+ -x "`cat /proc/sys/kernel/hotplug`" -a \
- -f /etc/hotplug/wlan.agent ] ; then
- HAS_HOTPLUG=y
- else
diff --git a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-gentoo-init b/net-wireless/linux-wlan-ng/files/linux-wlan-ng-gentoo-init
deleted file mode 100644
index a4bf06ca734f..000000000000
--- a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-gentoo-init
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/sbin/runscript
-
-source_config() {
- if [ -f /etc/wlan/shared ]
- then
- source /etc/wlan/shared
- else
- return 1
- fi
- return 0
-}
-
-start() {
- ebegin "Starting WLAN devices"
- if ! source_config
- then
- eerror "Error loading /etc/wlan/shared"
- eend 1
- return 1
- fi
-
- # NOTE: We don't explicitly insmod the card driver here. The
- # best thing to do is to specify an alias in /etc/modules.conf.
- # Then, the first time we call wlanctl with the named device,
- # the kernel module autoload stuff will take over.
-
- for DEVICE in $WLAN_DEVICES; do
- #=======ENABLE========================================
- # Do we want to init the card at all?
- eval 'WLAN_ENABLE=$ENABLE_'$DEVICE
- if ! is_true $WLAN_ENABLE ; then
- continue
- fi
-
- if is_true $WLAN_DOWNLOAD; then
- wlan_download $DEVICE
- fi
-
- wlan_enable $DEVICE
-
- #=======MAC STARTUP=========================================
- wlan_supports_scan $DEVICE
-
- if [ $? = 0 ] ; then
- wlan_scan $DEVICE
- if [ $? = 0 ] ; then
- wlan_source_config_for_ssid "$ssid" "$bssid"
-
- wlan_user_mibs $DEVICE
- # make it quiet
- error=`eval wlan_wep $DEVICE`
-
- grep 'autojoin' /proc/net/p80211/$DEVICE/wlandev > /dev/null
- if [ $? = 0 ]; then
- wlan_infra $DEVICE
- else
- wlan_dot11_join $DEVICE
- fi
- else
- echo "network not found. maybe start IBSS?"
- fi
- else
- wlan_source_config $DEVICE
-
- wlan_user_mibs $DEVICE
- # make it quiet
- error=`eval wlan_wep $DEVICE`
-
- if is_true $IS_ADHOC ; then
- wlan_adhoc $DEVICE
- else
- wlan_infra $DEVICE
- fi
- fi
- done
-
- eend 0
-}
-
-stop() {
- ebegin "Shutting Down WLAN Devices"
- if ! source_config
- then
- eerror "Error loading /etc/wlan/shared"
- eend 1
- return 1
- fi
-
- # Do a reset on each device to make sure none of them are still
- # trying to generate interrupts.
- for DEVICE in $WLAN_DEVICES; do
- # This just makes it quiet...
- error="$(eval wlan_disable $DEVICE)"
- done
-
- eend 0
-}