Remove the -q option in utilities page
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
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.67......Fix for properly identify the jail type, thanks to mvdhoeven.
|
||||||
1.0.66......Update extension and bastille config files at once.
|
1.0.66......Update extension and bastille config files at once.
|
||||||
1.0.65......Add ability to create empty containers, minor improvements.
|
1.0.65......Add ability to create empty containers, minor improvements.
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ $document->render();
|
|||||||
#$current_release = exec("/usr/sbin/jexec {$pconfig['jailname']} freebsd-version 2>/dev/null");
|
#$current_release = exec("/usr/sbin/jexec {$pconfig['jailname']} freebsd-version 2>/dev/null");
|
||||||
unset($disable_base_change);
|
unset($disable_base_change);
|
||||||
$current_release = exec("/usr/bin/grep '\-RELEASE' {$jail_dir}/{$pconfig['jailname']}/fstab | awk '{print $1}' | grep -o '[^/]*$'");
|
$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):
|
if (!$current_release):
|
||||||
$current_release = exec("/usr/bin/grep 'releng' {$jail_dir}/{$pconfig['jailname']}/root/COPYRIGHT | cut -d '/' -f2");
|
$current_release = exec("/usr/bin/grep 'releng' {$jail_dir}/{$pconfig['jailname']}/root/COPYRIGHT | cut -d '/' -f2");
|
||||||
$disable_base_change = "1";
|
$disable_base_change = "1";
|
||||||
|
|||||||
Reference in New Issue
Block a user