mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00:00
Add the suggest command
This commit is contained in:
parent
cdedc3af5d
commit
7d79f288f5
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ def main():
|
||||||
try: mode = sys.argv[1]
|
try: mode = sys.argv[1]
|
||||||
except Exception, IndexError: mode = ""
|
except Exception, IndexError: mode = ""
|
||||||
wildcard = sys.argv[0].split("prosody_")[1].split("_")[0]
|
wildcard = sys.argv[0].split("prosody_")[1].split("_")[0]
|
||||||
|
|
||||||
|
if mode == "suggest":
|
||||||
|
print "c2s"
|
||||||
|
print "s2s"
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
if wildcard == "c2s":
|
if wildcard == "c2s":
|
||||||
if mode == "config":
|
if mode == "config":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue