From 5f46dd67bdb0e0e6e5141b0913ec4aa325254e0e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 25 Jan 2017 17:40:10 +0100 Subject: [PATCH] Fix wifi setup --- clone/.clone.swp | Bin 20480 -> 0 bytes clone/clone | 8 ++++---- clone/clone.conf | 0 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 clone/.clone.swp mode change 100644 => 100755 clone/clone.conf diff --git a/clone/.clone.swp b/clone/.clone.swp deleted file mode 100644 index d0398cc4c2c637ecdf2ca11abee98b10453d2e6d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20480 zcmeI3dvIJ=dB86*4G}aXLmHAcK#o=-+6`H)R@TF|EXT4XV+SjCw3b6_Ir7!sE9qLh z_ip#zwJbkEACt#)fSJsYK$3=pGARwyhV-8n@}k2Z(3F(W8Kw*cnkiEt4Nx-E3DcC8 z>F+%5zGb@>GwpPCXMS4WJ?Easch33F_kHJhVc_t-X))SAWbwJuvR;1i-VctxalLgH z|32xIi|K{3onLXIP^Pc*QTYmXDGEyK2S@@XYz%>clFvBY}CVU?#p&f<7WG~raxEhq5gw@p}lABeA$n%%lW)eL}C~rriKU0akf)}l2!e!eDR_E=~oJcmR3zTj;ym!wyaN7LbojFji{6yJ8~V-SMvH2 zyhIBJQ(~RWzPl<)o^buByrvo&R-8b{)@F)+lyRec+@3RHsqB_S`oxq-+)?tjB}}^; z8ogd~>4&H*Og5`g!ZU6$IN{2ssD7ySXz6BCLM6(s*0(e+Vb0&NV~030d{oTJj>~Ma zh>$wM$Sn;gQ>U$-@r(TQSUqiuHdF4b)un0}V|;aQwr}4q9PSuVH)&Fm#h~IxqWARV z)Zw#(N~Yq>8PS^*wHMrSIVf*K=6+wK^C!d&HwgEn7YR8PX+id=m{tWbXT3aPvdfVd zd4XT8*+^l?WK_b6GsV>#i41LAB5^hK4N*cdA{kmoBwg$D-El-dC>G`HU9`P|>oiIr zDahb0j`wGRvbW^mr)T5;rP(BNQt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@u-U1du4bv!we6f1)}*`W`L5us$_{I;qBQz& zBTb?fiOI9-Ma$A7Oydz=nB^WW$9u@SbDHv;IMW5q=-9xnm0g|2ZT(w3SUntqGfqss zva)=8m^sbHHZ7Ug9j;wp(Oa9o!&0><-Sgv^co^z|IRfNCmBdYQ`&r(9=Vh8mir*=$=h&GV+0TYAIYAW?s?A!~@Q4k?$k zHCgL9ZHS!UghO6jidUZMPrLP2pCJ}~vH9(`S|@(9ZPS%Nm@>>Z4n6A}09;AgwFM4D zRe(m$E2SXisYR$p#pt})m}*yfOP%U0u~wN#W*X%!-9qgZ8uvrxrAnba;JWG1A~p_M zs%K5D!=_H(8V{tJGRadXZDgLKm_{c`iijDAJ}h&DBi5b7VZ$)Qn^5 z3{7>E&P!dmX;uQIEFSsJFFfWEEjNk1keu(oIUE(HXknVj4?nlGsSyEj%6i6iG7yZcU{!BSoZdcFbimb94Mz>PvBPw&mT@8U}>FSzd8Yc*PR;6GgtfR*J@ix*nNS v5B=(Il2Fp=x(n22=Mp#R%>Bic&@MzK^YqlAy$2@e>CkX?FqKLr>> Loading configuration file" -source clone.conf || $(echo "<<< error"; exit); +echo ">>> Loading configuration file"; +source clone.conf; echo "<<< done"; @@ -270,7 +270,7 @@ step8(){ # (1) Create link in order to be handled # echo " (.) Emulate \`systemctl set-default multi-user.target\`"; - #sudo ln -fs /lib/systemd/system/multi-user.target /mnt/etc/systemd/system/default.target; + sudo ln -fs /lib/systemd/system/multi-user.target /mnt/etc/systemd/system/default.target; # (2) Link autologin to tty service # echo " (.) Link autologin script to tty's default"; @@ -295,7 +295,7 @@ step8(){ step9(){ echo "\n>>> [9] Set up WiFi configuration"; - echo "network={\n\tssid=\"$WIFI_SSID"\n\tpsk=\"$WIFI_PASS"\n}" | sudo tee -a /mnt/etc/wpa_supplicant/wpa_supplicant.conf > /dev/null; + echo "network={\n\tssid=\"$WIFI_SSID\"\n\tpsk=\"$WIFI_PASS\"\n}" | sudo tee -a /mnt/etc/wpa_supplicant/wpa_supplicant.conf > /dev/null; echo "<<< done"; diff --git a/clone/clone.conf b/clone/clone.conf old mode 100644 new mode 100755