diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/installer.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php index aa3b9c0..68570ac 100644 --- a/usr/local/www/installer.php +++ b/usr/local/www/installer.php @@ -645,7 +645,8 @@ EOF; $custom_txt .= "<tr><td align='right'><b>Filesystem type:</td><td><select name='fstype'>\n"; $custom_txt .= "<option value='UFS'>UFS</option>\n"; $custom_txt .= "<option value='UFS+S'>UFS + Softupdates</option>\n"; - $release = trim(`uname -r | cut -d'.' -f1`); + $release = php_uname("r"); + $release = $release[0]; if($release == "9") $custom_txt .= "<option value='UFS+J'>UFS + Journaling</option>\n"; if(file_exists("/boot/gptzfsboot")) @@ -749,4 +750,4 @@ EOF; end_html(); } -?>
\ No newline at end of file +?> |