Remove the -q option in utilities page

This commit is contained in:
Jose
2020-08-17 17:22:37 -04:00
parent d1afecf699
commit 6e7f479ed1
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -3,6 +3,7 @@
======================
Version Description
1.0.68......Remove the -q option in utilities page.
1.0.67......Fix for properly identify the jail type, thanks to mvdhoeven.
1.0.66......Update extension and bastille config files at once.
1.0.65......Add ability to create empty containers, minor improvements.
+1 -1
View File
@@ -436,7 +436,7 @@ $document->render();
#$current_release = exec("/usr/sbin/jexec {$pconfig['jailname']} freebsd-version 2>/dev/null");
unset($disable_base_change);
$current_release = exec("/usr/bin/grep '\-RELEASE' {$jail_dir}/{$pconfig['jailname']}/fstab | awk '{print $1}' | grep -o '[^/]*$'");
$is_thickjail = exec("/usr/bin/grep -qw '/.*/.bastille' {$jail_dir}/{$pconfig['jailname']}/fstab");
$is_thickjail = exec("/usr/bin/grep -w '/.*/.bastille' {$jail_dir}/{$pconfig['jailname']}/fstab");
if (!$current_release):
$current_release = exec("/usr/bin/grep 'releng' {$jail_dir}/{$pconfig['jailname']}/root/COPYRIGHT | cut -d '/' -f2");
$disable_base_change = "1";
+1 -1
View File
@@ -1 +1 @@
1.0.67
1.0.68