diff --git a/files/supernode b/files/supernode index 41d4d56..337977e 100644 --- a/files/supernode +++ b/files/supernode @@ -1,7 +1,7 @@ #!/bin/bash help () { echo "Supernode Settings:" -echo "status | off | on | loadbalance_on | loadbalance_off | auto" +echo "status | off | on | auto" } status () { @@ -28,22 +28,15 @@ status () { off () { echo 0 > /etc/supernode-status/supernode.mode - echo "Supernode Deaktiviert" + echo 0 > /etc/supernode-status/loadbalancing.mode + + echo "Supernode Aus" } on () { echo 1 > /etc/supernode-status/supernode.mode - echo "Supernode Aktiviert" -} - -loadbalance_on () { - echo 1 > /etc/supernode-status/loadbalancing.mode - echo "Loadbalance on" -} - -loadbalance_off () { echo 0 > /etc/supernode-status/loadbalancing.mode - echo "Loadbalance off" + echo "Supernode Dauer-An" } auto () {