|
@@ -978,10 +978,14 @@ def service_stop():
|
|
|
|
|
|
def service_get(port):
|
|
|
"""Get the values on the specified port."""
|
|
|
+ _goto_mode(MODE_SERVICE)
|
|
|
+
|
|
|
return _output(port=port)
|
|
|
|
|
|
def service_set(port, value):
|
|
|
"""Set a value on a specified port."""
|
|
|
+ _goto_mode(MODE_SERVICE)
|
|
|
+
|
|
|
_input(value, port=port)
|
|
|
|
|
|
def password_change(user, password):
|