wok diff wpa_supplicant/receipt @ rev 18999
grep: move from /usr/bin to /bin
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 21 11:33:21 2016 +0200 (2016-03-21) |
parents | 64618945fe80 |
children | e25ff83b65ed |
line diff
1.1 --- a/wpa_supplicant/receipt Mon Nov 16 00:25:42 2015 +0200 1.2 +++ b/wpa_supplicant/receipt Mon Mar 21 11:33:21 2016 +0200 1.3 @@ -91,15 +91,15 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - grep -qs ^WPA_OPTIONS= $1/etc/daemons.conf || cat >> $1/etc/daemons.conf << EOT 1.8 + grep -qs ^WPA_OPTIONS= $1/etc/daemons.conf || cat >> "$1/etc/daemons.conf" << EOT 1.9 1.10 # wpa_supplicant daemon options 1.11 WPA_OPTIONS="-B -u -P /var/run/wpa_supplicant.pid -c /etc/wpa/wpa.conf -i \$(. /etc/network.conf ; echo \$WIFI_INTERFACE)" 1.12 1.13 EOT 1.14 # We use /etc/wpa/wpa.conf from SliTaz 5.0 1.15 - sed -i s'#/etc/wpa_supplicant.conf#/etc/wpa/wpa.conf#'/ $1/etc/daemons.conf 2> /dev/null 1.16 + sed -i s'#/etc/wpa_supplicant.conf#/etc/wpa/wpa.conf#'/ "$1/etc/daemons.conf" 2> /dev/null 1.17 # 'w' option dont exist anymore with < 0.6.9 1.18 - sed -i s/'-Bw'/'-B'/ $1/etc/daemons.conf 2> /dev/null 1.19 - sed -i s/'-B -w'/'-B'/g $1/etc/init.d/network.sh 2> /dev/null 1.20 + sed -i s/'-Bw'/'-B'/ "$1/etc/daemons.conf" 2> /dev/null 1.21 + sed -i s/'-B -w'/'-B'/g "$1/etc/init.d/network.sh" 2> /dev/null 1.22 }