diff --git a/plugins/ungit.plg b/plugins/ungit.plg index fcfc6a04..e1b7489c 100644 --- a/plugins/ungit.plg +++ b/plugins/ungit.plg @@ -39,7 +39,7 @@ This Plugin installs libvirt wake on lan for unRaid 6.1 All dependencies are in diff --git a/source/ungit/usr/local/emhttp/plugins/ungit/UnGit.page b/source/ungit/usr/local/emhttp/plugins/ungit/UnGit.page index 95f86b59..b37a189f 100644 --- a/source/ungit/usr/local/emhttp/plugins/ungit/UnGit.page +++ b/source/ungit/usr/local/emhttp/plugins/ungit/UnGit.page @@ -19,7 +19,7 @@ Enable unGit Server (): > Select Yes to enable, No to disable. Port: -: +: > Enter Port number of your unGit Server @@ -70,7 +70,7 @@ $(function(){ function resetDATA(form) { - form.PORT.value = 8888; + form.PORT.value = 8448; } function checkRUNNING(form) { @@ -92,7 +92,7 @@ function checkRUNNING(form) { function verifyDATA(form) { if (form.PORT.value < 0 || form.PORT.value > 65535){ - form.PORT.value = 8888; + form.PORT.value = 8448; } form.DAEMON.value = form.DAEMON.value.replace(/ /g,"_"); } diff --git a/source/ungit/usr/local/emhttp/plugins/ungit/include/settings.php b/source/ungit/usr/local/emhttp/plugins/ungit/include/settings.php index 75840cd1..c959e2d0 100644 --- a/source/ungit/usr/local/emhttp/plugins/ungit/include/settings.php +++ b/source/ungit/usr/local/emhttp/plugins/ungit/include/settings.php @@ -7,7 +7,7 @@ $gdaemon = isset($gcfg['DAEMON']) ? $gcfg['DAEMON'] : "disable"; //$qipaddr = preg_match('/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/', $ipmi_cfg['host']) ? // $qcfg['host'] : $var['IPADDR']; $gipaddr = 'localhost'; -$gport = (isset($gcfg['port']) && is_numeric($gcfg['port']) && $gcfg['port'] > 0 && $gcfg['port'] < 65535 ) ? $gcfg['port'] : 8888; +$gport = (isset($gcfg['port']) && is_numeric($gcfg['port']) && $gcfg['port'] > 0 && $gcfg['port'] < 65535 ) ? $gcfg['port'] : 8448; $gversion = shell_exec( '/usr/local/emhttp/plugins/ungit/node_modules/ungit/bin/ungit -v' ); //check running status