From 8e1e9d611c9498a6ca17125cc12353ef58f84f27 Mon Sep 17 00:00:00 2001 From: stebifan Date: Fri, 6 May 2016 12:11:44 +0200 Subject: [PATCH] Update supernode --- files/supernode | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) 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 () {