]> git.ipfire.org Git - people/ms/network.git/commit
zone: change edit syntax for config.
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 5 Jul 2017 14:19:52 +0000 (16:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jul 2017 15:14:10 +0000 (17:14 +0200)
commite6a03d560a89a9a749f520fab6279a1f12a6520e
treec9a60aad753c2aa439d0cadad2764419ed4326f1
parent9ee04d82009249b4f4e33e8d1389b648998c3315
zone: change edit syntax for config.

The syntax to edit a config is now

network zone upl0 config <id> edit

similar to the syntax if a zone is edited.

The cmd variable is setted to the content of ${1},
because we need the content in this variable if the ${id} is not valid, to print a nice error message.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.zone