summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/900-bash-location.patch
blob: 42b7d56f29d8079adc03facf2d08fdd295d164bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
--- a/scripts/admin-clean.sh
+++ b/scripts/admin-clean.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 if [ -d net ] ; then
 	make clean
 fi
--- a/scripts/admin-refresh.sh
+++ b/scripts/admin-refresh.sh
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
 ./scripts/admin-clean.sh $@
 ./scripts/admin-update.sh $@
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # 
 # Copyright 2007, 2008, 2010	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
--- a/scripts/athenable
+++ b/scripts/athenable
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Copyright 2007	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
--- a/scripts/athload
+++ b/scripts/athload
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2007	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
 # Loads ath5k or madwifi
--- a/scripts/b43enable
+++ b/scripts/b43enable
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Copyright 2007	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
--- a/scripts/b43load
+++ b/scripts/b43load
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2007	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
 # Loads new broadcom drivers (b43 and b43legacy) or the old ones (bcm43xx)
--- a/scripts/btload.sh
+++ b/scripts/btload.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 MODULES="bluetooth btusb l2cap sco hidp rfcomm bnep"
 for i in $MODULES; do
 	echo Loading $i...
--- a/scripts/btunload.sh
+++ b/scripts/btunload.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 MODULES="hidp rfcomm bnep l2cap sco btusb bluetooth"
 echo Stoping bluetooth service..
 /etc/init.d/bluetooth stop
--- a/scripts/check_config.sh
+++ b/scripts/check_config.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # This script checks the compat-wireless configuration file and if changes were made
 # regenerates the compat_autoconf header.
 
--- a/scripts/check_depmod
+++ b/scripts/check_depmod
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2009	Luis R. Rodriguez <mcgrof@gmail.com>
 # 
 # Ensures your distribution likes to prefer updates/ over the kernel/
--- a/scripts/compress_modules
+++ b/scripts/compress_modules
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # To be used by distributions using compressed modules
 
 COMPRESSION_FOUND="n"
--- a/scripts/driver-select
+++ b/scripts/driver-select
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2009        Luis R. Rodriguez <mcgrof@gmail.com>
 #
 # This script allows you to select your compat-wireless driver and
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # 
 # Copyright 2007	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
--- a/scripts/gen-stable-release.sh
+++ b/scripts/gen-stable-release.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2009  Luis R. Rodriguez <mcgrof@gmail.com>
 #
 # You can use this to make stable compat-wireless releases
--- a/scripts/iwl-enable
+++ b/scripts/iwl-enable
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Copyright 2007	Luis R. Rodriguez <lrodriguez@atheros.com>
 #
--- a/scripts/iwl-load
+++ b/scripts/iwl-load
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2008	Luis R. Rodriguez <lrodriguez@atheros.com>
 #
 # Loads new Intel iwl (iwlagn) or the old ones (iwl4965)
--- a/scripts/load.sh
+++ b/scripts/load.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 MODULES="ipw2100 ipw2200 libertas_cs usb8xxx"
 MODULES="$MODULES p54pci p54usb"
 MODULES="$MODULES adm8211 zd1211rw"
--- a/scripts/modlib.sh
+++ b/scripts/modlib.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Copyright 2007	Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
 #
--- a/scripts/skip-colors
+++ b/scripts/skip-colors
@@ -1,2 +1,2 @@
-#!/bin/bash
+#!/usr/bin/env bash
 perl -pe 's|(\e)\[(\d+)(;*)(\d*)(\w)||g'
--- a/scripts/unload.sh
+++ b/scripts/unload.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # The old stack drivers and the mac80211 rc80211_simple modules 
 # which is no longer on recent kernels (its internal)
--- a/scripts/update-initramfs
+++ b/scripts/update-initramfs
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2009        Luis R. Rodriguez <mcgrof@gmail.com>
 #
 # Since we provide ssb, the Ethernet module b44 some people may
--- a/scripts/wlload.sh
+++ b/scripts/wlload.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 MODULES="ipw2100 ipw2200 libertas_cs usb8xxx"
 MODULES="$MODULES p54pci p54usb"
 MODULES="$MODULES adm8211 zd1211rw"
--- a/scripts/wlunload.sh
+++ b/scripts/wlunload.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # The old stack drivers and the mac80211 rc80211_simple modules
 # which is no longer on recent kernels (its internal)