/[sysadmin-cookbook]/recepies/qr/qr-wifi.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/qr/qr-wifi.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 302 - (show annotations)
Wed Aug 21 12:11:52 2013 UTC (10 years, 8 months ago) by root
File MIME type: application/x-sh
File size: 262 byte(s)
generate QR code for WIFI network

1 #/bin/sh -xe
2 # Generate QR code for WIFI network
3 test -z "$1" && echo -n "ssid: " && read ssid || ssid=$1
4 test -z "$2" && echo -n "password: " && read pass || pass=$2
5 qrencode -o /tmp/qr-${ssid}.png "WIFI:S:$ssid;T:WPA;P:$pass;" ; qiv -m /tmp/qr-${ssid}.png

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26