mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-03-02 23:07:25 +08:00
Update network.sh
This commit is contained in:
parent
138b6638a5
commit
4cac906915
@ -204,9 +204,9 @@ getUserPorts() {
|
||||
list=$(echo "${list// /}" | sed 's/,*$//g')
|
||||
|
||||
local ssh="22"
|
||||
local dsm="5000"
|
||||
local dsm="5000,5001"
|
||||
[ -z "$list" ] && list="$ssh,$dsm" || list+=",$ssh,$dsm"
|
||||
|
||||
|
||||
list="${list//,,/,}"
|
||||
list="${list//,/ }"
|
||||
list="${list## }"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user