Change qrencode -r to redirect

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2022-08-04 22:21:46 +02:00
parent dbe8b88ea2
commit d65f1b2eec
+1 -1
View File
@@ -199,7 +199,7 @@ That's it.
You can now copy the configuration file to your client (if you created the config on the server). If the client is a mobile device such as a phone, `qrencode` can be used to generate a scanable QR code:
```bash
sudo qrencode -t ansiutf8 -r "/etc/wireguard/${name}.conf"
sudo qrencode -t ansiutf8 < "/etc/wireguard/${name}.conf"
```
(you may need to install `qrencode` using `sudo apt-get install qrencode`)