summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/tftputils.php
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-08-22 13:43:24 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-08-22 13:43:24 +0200
commit0b97d9697a51f2ddca71b57bd4af57e67f9d0cd4 (patch)
tree0bccb6c52a5e74b1842c263f5355d13ccc07e0b8 /admin/WebConsole/includes/tftputils.php
parente3b1b1e2a90629eff6d42d0004a8c1b9ae2f1cda (diff)
#834: Setting a default value for some PHP variables to avoid warnings.
Diffstat (limited to 'admin/WebConsole/includes/tftputils.php')
-rw-r--r--admin/WebConsole/includes/tftputils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/tftputils.php b/admin/WebConsole/includes/tftputils.php
index 87da6287..aca054a5 100644
--- a/admin/WebConsole/includes/tftputils.php
+++ b/admin/WebConsole/includes/tftputils.php
@@ -98,7 +98,7 @@ function createBootMode ($cmd, $bootopt, $hostname, $lang) {
$description=exec("awk 'NR==1 {print $2}' ".PXEDIRBIOS."/templates/".$bootopt);
if ($description === "") $description=exec("awk 'NR==1 {print $2}' ".PXEDIRUEFI."/templates/".$bootopt);
// Llamamos al script setclientmode
- shell_exec("export LANG=$lang $acceso; /opt/opengnsys/bin/setclientmode $description $hostname PERM $file");
+ shell_exec("export LANG=$lang $acceso; /opt/opengnsys/bin/setclientmode $description $hostname PERM");
}