summaryrefslogtreecommitdiffstats
path: root/usr/bin
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-05-24 13:42:39 +0200
committerlassulus <lassulus@googlemail.com>2013-05-24 13:42:39 +0200
commitf7e3a735078dd0a758066c9398489ca747ab4834 (patch)
tree6259204f51886a5dfea6ccb0de8d0089c32fadb1 /usr/bin
parent6ede8f54181fa1adaf403f66f9779bce7b721af5 (diff)
now appending
Diffstat (limited to 'usr/bin')
-rwxr-xr-xusr/bin/autowifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index a133b3c3..27782c3e 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -68,7 +68,7 @@ crack_wifi(){
connect_wifi $3 $1 $encr $key
sleep 20
if check_gateway; then
- (cat /etc/autowifi/wifi_keys | grep -v "$1|$2|" ; echo "$1|$2|$key" ) | sort | uniq >> /etc/autowifi/wifi_keys
+ (cat /etc/autowifi/wifi_keys | grep -v "$1|$2|" ; echo "$1|$2|$key" ) | sort | uniq > /etc/autowifi/wifi_keys
echo "yay internet"
return 0
fi