summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-03-20 17:36:55 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-03-20 17:36:55 +0100
commit5944dc18a7e8895f5af48e792255b77f9b00cbe5 (patch)
treeead5ae961f40ef081517aa60b8f3850558d95477
parent93a4b231fe2963b3cb386edb3f15ea3bb90478e2 (diff)
downloadfastd-5944dc18a7e8895f5af48e792255b77f9b00cbe5.tar
fastd-5944dc18a7e8895f5af48e792255b77f9b00cbe5.zip
doc: examples/openwrt/fastd.init: add help text for custom commands
-rw-r--r--doc/examples/openwrt/fastd.init13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/examples/openwrt/fastd.init b/doc/examples/openwrt/fastd.init
index b0aa53f..d910725 100644
--- a/doc/examples/openwrt/fastd.init
+++ b/doc/examples/openwrt/fastd.init
@@ -5,7 +5,18 @@ START=95
SERVICE_USE_PID=1
-EXTRA_COMMANDS="up down show_key generate_key"
+EXTRA_COMMANDS='up down show_key generate_key'
+
+EXTRA_HELP='
+ up starts the instances given as additional arguments
+ down stops the instances given as additional arguments
+ show_key shows the public keys of the instances given as
+ additional arguments
+ generate_key generates the private keys for the instances given as
+ additional arguments and saves them in the configuration
+ (when there in no key configured yet)
+'
+
LIST_SEP="
"