From 1a0de783e567a0632fbb24dde75811e322428a14 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 28 Aug 2019 01:58:05 +0200 Subject: [PATCH] :ambulance: Fixes basio->bashio typo --- wireguard/rootfs/etc/cont-init.d/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard/rootfs/etc/cont-init.d/config.sh b/wireguard/rootfs/etc/cont-init.d/config.sh index 948cfab..47bcd19 100644 --- a/wireguard/rootfs/etc/cont-init.d/config.sh +++ b/wireguard/rootfs/etc/cont-init.d/config.sh @@ -139,7 +139,7 @@ for peer in $(bashio::config 'peers|keys'); do peer_private_key="" if bashio::config.has_value "peers[${peer}].private_key"; then peer_private_key=$(bashio::config "peers[${peer}].private_key") - elif ! basio::config.has_value "peers[${peer}].public_key"; then + elif ! bashio::config.has_value "peers[${peer}].public_key"; then # If a public key is not provided, try get a private key from disk # or generate one if needed. if ! bashio::fs.file_exists '/ssl/wireguard/private_key'; then