Mercurial > hg > fD-testbed
comparison scripts/wpasupplicant-install.sh @ 0:9e5a3c884de6
Initial import of the virtual testbed.
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 17 Jun 2010 11:00:32 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9e5a3c884de6 |
---|---|
1 #!/bin/bash -x | |
2 | |
3 # Install dependencies | |
4 apt-get build-dep wpasupplicant || exit 1 | |
5 aptitude install linux-backports-modules-karmic-generic-pae || exit 1 | |
6 | |
7 # Install the link to the configuration | |
8 /home/aaa/installvm.sh conflink | |
9 | |
10 # Test build directive file | |
11 if ! [ -f /root/conf/wpasupplicant/build.config ]; then echo Missing build config file; exit 1; fi | |
12 | |
13 # We need the radio emulation driver as well, check it was correctly installed. | |
14 modprobe mac80211_hwsim || exit 1 | |
15 | |
16 # Build wpa_supplicant | |
17 rm -rf /root/wpa_supplicant | |
18 cp -Rs /home/aaa/src/hostap /root/wpa_supplicant | |
19 ln -s /root/conf/wpasupplicant/build.config /root/wpa_supplicant/wpa_supplicant/.config | |
20 cd /root/wpa_supplicant/wpa_supplicant && make || exit 1 | |
21 |