Made screen default backend (upon popular request)
This commit is contained in:
parent
1b9d89c15f
commit
339b18d6c7
1 changed files with 3 additions and 3 deletions
6
cloudbot
6
cloudbot
|
@ -23,10 +23,10 @@ running() {
|
|||
}
|
||||
|
||||
checkbackend() {
|
||||
if dpkg -l| grep ^ii|grep daemon|grep 'turns other' > /dev/null; then
|
||||
backend="daemon"
|
||||
elif dpkg -l| grep ^ii|grep screen|grep 'terminal multi' > /dev/null; then
|
||||
if dpkg -l| grep ^ii|grep screen|grep 'terminal multi' > /dev/null; then
|
||||
backend="screen"
|
||||
elif dpkg -l| grep ^ii|grep daemon|grep 'turns other' > /dev/null; then
|
||||
backend="daemon"
|
||||
else
|
||||
backend="manual"
|
||||
fi
|
||||
|
|
Reference in a new issue