Update supernode
This commit is contained in:
parent
c525ccc8f3
commit
8e1e9d611c
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user