From f7e3a735078dd0a758066c9398489ca747ab4834 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 24 May 2013 13:42:39 +0200 Subject: now appending --- usr/bin/autowifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3