Changing peertube signup state
This commit is contained in:
parent
e17238eed8
commit
09759b7da5
|
@ -141,8 +141,8 @@ function peertube_disable_signups {
|
|||
--yesno $"\nDo you wish to disable further PeerTube signups?" 8 75
|
||||
sel=$?
|
||||
case $sel in
|
||||
0) sed "0,/RE/s/enabled:.*/enabled: false/" $PEERTUBE_DIR/config/production.yaml;;
|
||||
1) sed "0,/RE/s/enabled:.*/enabled: true/" $PEERTUBE_DIR/config/production.yaml;;
|
||||
0) sed -i "0,/enabled:.*/s//enabled: false/" $PEERTUBE_DIR/config/production.yaml;;
|
||||
1) sed -i "0,/enabled:.*/s//enabled: true/" $PEERTUBE_DIR/config/production.yaml;;
|
||||
255) return;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue