Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,16 @@ get_distro() {

# /etc/pacbsd-release is an empty file
[[ -f "/etc/pacbsd-release" ]] && distro="PacBSD"

# For OPNsense
if [[ -f "/usr/local/opnsense/version/opnsense" ]]; then
case "$distro_shorthand" in
"on" | "tiny") distro="OPNsense" ;;
*)
distro=$(<"/usr/local/opnsense/version/opnsense")
distro="OPNsense ${distro%-*}"
esac
fi
fi
fi

Expand Down Expand Up @@ -7011,6 +7021,32 @@ yM+ dM/+NNo` :Md +My
EOF
;;

"OPNsense"*)
set_colors 7 202
read -rd '' ascii_data <<'EOF'
${c1} .'''''''''''''''''''''''''''''''''''
oocc:::::::::::::::::::::::::::::::cox
;00; o0O
.,:' .;;;;;;;;;;;;;;;;;;;;;;;;;; ;:,
.',;;cxOOOOOOOOOOOOOOOOOOOOOOOkd:;;,..
.,cll:' ':llc,.
,;;:okxdxd: :dxdxko:;;,
.xxxx0XNNK0O. .O0KNNX0xxxx.
,${c2}cc:${c1},. .,${c2}:cc${c1},
........;${c2}ccc:${c1};. .;${c2}:ccc${c1};........
${c2}ccccccccccccccc ccccccccccccccc${c1}
........;${c2}ccc:${c1};. .;${c2}:ccc${c1};........
,${c2}cc:${c1},. .,${c2}:cc${c1},
.xxxx0XNNK0O. .O0KNNX0xxxx.
,;;:okxdxd: :dxdxko:;;,
.,cll:' ':llc,.
.,,;,ckOOOOOOOOOOOOOOOOOOOOOOOOx;,;,'.
.:l' ........................... ;:;
lOk' cdd
;lccccccccccccccccccccccccccccccccccc:.
EOF
;;

"Oracle"*)
set_colors 1 7 3
read -rd '' ascii_data <<'EOF'
Expand Down