diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-09-07 10:30:45 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-10-20 10:42:13 +0200 |
commit | 5a56f3107b9b4388abd3740d317608a70a06ee7e (patch) | |
tree | de3b51d03569ee8ca23a69cd27be1c0280b082da /admin | |
parent | 1feb2c99b62f7f1e8fd37a51d8f28c23d155cac6 (diff) |
#1062 Add tiptorrent support to WebConsole
Add tiptorrent option to WebConsole restore image form.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/WebConsole/includes/pintaParticiones.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/pintaParticiones.php b/admin/WebConsole/includes/pintaParticiones.php index c789298d..064423a8 100644 --- a/admin/WebConsole/includes/pintaParticiones.php +++ b/admin/WebConsole/includes/pintaParticiones.php @@ -308,13 +308,15 @@ function pintaParticionesRestaurarImagen($cmd,$configuraciones,$idordenadores,$c $metodos.="UNICAST-DIRECT=UNICAST-DIRECT".chr(13); $metodos.="MULTICAST " . mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST-CACHE".chr(13); $metodos.="MULTICAST-DIRECT " . mcast_syntax($cmd,$ambito,$idambito) . "=MULTICAST-DIRECT".chr(13); - $metodos.="TORRENT " . torrent_syntax($cmd,$ambito,$idambito) . "=TORRENT-CACHE"; + $metodos.="TORRENT " . torrent_syntax($cmd,$ambito,$idambito) . "=TORRENT-CACHE".chr(13); + $metodos.="TIPTORRENT=TIPTORRENT"; $TBmetodos["UNICAST-CACHE"]=1; $TBmetodos["UNICAST-DIRECT"]=2; $TBmetodos["MULTICAST-CACHE"]=3; $TBmetodos["MULTICAST-DIRECT"]=4; $TBmetodos["TORRENT-CACHE"]=5; + $TBmetodos["TIPTORRENT"]=6; $idxc=$_SESSION["protclonacion"]; if ($idxc == "UNICAST") { $idxc = "UNICAST-DIRECT"; |