projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce55bd
)
carl9170 firmware: use sudo to install firmware
author
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 23 Jul 2010 00:05:21 +0000
(
02:05
+0200)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 23 Jul 2010 00:05:21 +0000
(
02:05
+0200)
Only a root-user can modify the files under /lib/firmware.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index 43dbce6e9bc21a32d2f8639045a4ed1177a2a62f..e530fb1f810d1022032178198d80d270dcb7f51d 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-28,7
+28,7
@@
case "$1" in
echo "Installing firmware..."
tmpfwfile=`mktemp`
cat carlfw/carl9170.fw carlfw/carl9170.dsc > $tmpfwfile
- install $tmpfwfile /lib/firmware/carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw
+
sudo
install $tmpfwfile /lib/firmware/carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw
rm $tmpfwfile
fi
;;