Kernel: Hardcode kernel_shorthand=tiny on BSD systems
This commit is contained in:
parent
5959cb1b93
commit
c667fca505
1 changed files with 5 additions and 0 deletions
5
neofetch
5
neofetch
|
@ -266,6 +266,11 @@ gettitle() {
|
|||
# Kernel {{{
|
||||
|
||||
getkernel() {
|
||||
# Hardcode kernel_shorthand=tiny on BSD systems.
|
||||
case "$os" in
|
||||
"BSD") kernel_shorthand="tiny" ;;
|
||||
esac
|
||||
|
||||
case "$kernel_shorthand" in
|
||||
"on") kernel_flags="-sr" ;;
|
||||
"tiny") kernel_flags="-r" ;;
|
||||
|
|
Loading…
Reference in a new issue