# HG changeset patch # User Pascal Bellard # Date 1386681366 0 # Node ID 3196dad7fb36bf2fc2705ec22d6aee6959b99725 # Parent 2e44cbfb4fc339209adf0a8f7116ad798d8834cf wpa_supplicant: fail safe post_install diff -r 2e44cbfb4fc3 -r 3196dad7fb36 wpa_supplicant/receipt --- a/wpa_supplicant/receipt Tue Dec 10 13:11:40 2013 +0000 +++ b/wpa_supplicant/receipt Tue Dec 10 13:16:06 2013 +0000 @@ -66,12 +66,12 @@ # Pre and post install commands for Tazpkg. post_install() { - grep -q ^WPA_OPTIONS= $1/etc/daemons.conf || cat >> $1/etc/daemons.conf <> $1/etc/daemons.conf < /dev/null + sed -i s/'-B -w'/'-B'/g $1/etc/init.d/network.sh 2> /dev/null }