mirror of
https://github.com/unraid/webgui.git
synced 2026-03-09 20:38:58 -05:00
Change to standard syntax to get emhttp port
This commit is contained in:
@@ -38,4 +38,4 @@ if ($timer=='') {
|
||||
$delay = $timer;
|
||||
}
|
||||
// update spindown time of selected disk
|
||||
exec("wget -qO /dev/null 127.0.0.1:$(lsof -lbnPi4 -sTCP:LISTEN|grep -Pom1 '^emhttp.*:\K[\d]+')/update.htm?diskSpindownDelay.$idx=$delay&changeDisk=apply");
|
||||
exec("wget -qO /dev/null 127.0.0.1:$(lsof -i -P -sTCP:LISTEN|grep -Pom1 '^emhttp.*:\K\d+')/update.htm?diskSpindownDelay.$idx=$delay&changeDisk=apply");
|
||||
|
||||
Reference in New Issue
Block a user