mirror of
https://github.com/kou029w/yama.git
synced 2025-01-19 00:18:06 +00:00
9 lines
260 B
Bash
Executable file
9 lines
260 B
Bash
Executable file
#!/bin/bash
|
|
# wpa_supplicant.conf の生成
|
|
# Usage: bin/conf-gen
|
|
# Required: wpa_supplicant grep
|
|
set -euo pipefail
|
|
read -p 'Please enter ssid: ' ssid
|
|
read -p 'Please enter passphrase: ' -s passphrase
|
|
wpa_passphrase "$ssid" "$passphrase" \
|
|
| grep -v '#psk='
|