Commit 63c532f2 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Kernel: Modify how kernel_shorthand works in BSDs

parent 9d6fbc68
...@@ -273,7 +273,7 @@ get_kernel() { ...@@ -273,7 +273,7 @@ get_kernel() {
esac esac
# Hardcode kernel settings in BSDs # Hardcode kernel settings in BSDs
if [[ "$os" == "BSD" && ! "$distro" =~ (PacBSD|PCBSD) ]]; then if [[ "$os" == "BSD" && "$distro" =~ "$kernel_name" ]]; then
case "$distro_shorthand" in case "$distro_shorthand" in
"on" | "tiny") kernel="$kernel_version" ;; "on" | "tiny") kernel="$kernel_version" ;;
*) unset kernel ;; *) unset kernel ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment