mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add support for the NanoBSD platform
This commit is contained in:
parent
a89bcef75f
commit
b538999b7f
@ -118,7 +118,7 @@ function check_for_kernel_file() {
|
||||
$platform = file_get_contents("/etc/platform");
|
||||
$platform = str_replace("\n", "", $platform);
|
||||
$platform = str_replace("\r", "", $platform);
|
||||
if($platform == "embedded" or $platform == "wrap") {
|
||||
if($platform == "embedded" or $platform == "wrap" or $platform == "nanobsd") {
|
||||
exec("echo wrap > /boot/kernel/pfsense_kernel.txt");
|
||||
echo "\n";
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user