diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-09-22 08:29:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 08:29:08 +0200 |
commit | c29f7fbba7ff0414c320f438415dd9b8ebd72cdf (patch) | |
tree | 33ffdc8cc5eca2e0ebeb1f5011d108caea927428 /protocols/luci-proto-wireguard/root/usr/libexec | |
parent | 738f36a1c31eda6d322e18c1b7fca4b6498e46a9 (diff) | |
parent | f062ce76c36a158b3f6caa7eb63819aa17e6823a (diff) |
Merge pull request #5323 from lvoegl/luci-proto-wireguard-client-qrcode
luci-app-wireguard: convert to JavaScript
Diffstat (limited to 'protocols/luci-proto-wireguard/root/usr/libexec')
-rwxr-xr-x | protocols/luci-proto-wireguard/root/usr/libexec/rpcd/luci.wireguard | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/protocols/luci-proto-wireguard/root/usr/libexec/rpcd/luci.wireguard b/protocols/luci-proto-wireguard/root/usr/libexec/rpcd/luci.wireguard deleted file mode 100755 index a6c951f3de..0000000000 --- a/protocols/luci-proto-wireguard/root/usr/libexec/rpcd/luci.wireguard +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -. /usr/share/libubox/jshn.sh - -case "$1" in - list) - json_init - json_add_object "generateKeyPair" - json_close_object - json_dump - ;; - call) - case "$2" in - generateKeyPair) - prv=$(wg genkey) - pub=$(echo $prv | wg pubkey) - json_init - json_add_object "keys" - json_add_string "priv" "$prv" - json_add_string "pub" "$pub" - json_close_object - json_dump - ;; - esac - ;; -esac |