wok-next rev 885
Add startup script for wpa_supplicant
author | Tom Frankland <0dddba11@googlemail.com> |
---|---|
date | Sat Jun 07 22:29:41 2008 +0000 (2008-06-07) |
parents | 6c4a9dddac48 |
children | 04b68c6ffdfa |
files | wpa_supplicant/receipt wpa_supplicant/stuff/etc/init.d/wpa_supplicant.sh |
line diff
1.1 --- a/wpa_supplicant/receipt Sat Jun 07 11:11:27 2008 +0200 1.2 +++ b/wpa_supplicant/receipt Sat Jun 07 22:29:41 2008 +0000 1.3 @@ -27,5 +27,8 @@ 1.4 cp -a $src/wpa_cli $fs/usr/bin 1.5 cp -a $src/wpa_supplicant $fs/usr/bin 1.6 cp -a $src/wpa_supplicant.conf $fs/etc 1.7 + 1.8 + # Startup script 1.9 + cp -a stuff/etc $fs 1.10 } 1.11
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/wpa_supplicant/stuff/etc/init.d/wpa_supplicant.sh Sat Jun 07 22:29:41 2008 +0000 2.3 @@ -0,0 +1,10 @@ 2.4 +#!/bin/sh 2.5 +# /etc/init.d/wpa_supplicant.sh - WPA initialisation boot script. 2.6 +# Config file is: /etc/wpa_supplicant.conf 2.7 +# 2.8 +. /etc/init.d/rc.functions 2.9 +. /etc/network.conf 2.10 + 2.11 +# Start wpa_supplicant 2.12 +echo "Starting WPA on $INTERFACE... " 2.13 +/usr/bin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -iwlan0