Skip to content

Commit

Permalink
Update data-status.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rern committed Dec 28, 2024
1 parent 4dca4bc commit 5183dca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions srv/http/bash/settings/data-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ $( grep -Ev '^#|^\s*$' /boot/config.txt )
<bll># firmware, bootloader</bll>
$( pacman -Qs 'firmware|bootloader' | grep -Ev '^\s|whence' | cut -d/ -f2 )"
ignorepkg=$( grep ^IgnorePkg /etc/pacman.conf )
[[ $ignorepkg ]] && config+="
<bll># grep ^IgnorePkg /etc/pacman.conf</bll>
$ignorepkg"
file_module=/etc/modules-load.d/raspberrypi.conf
if [[ -e $file_module ]]; then
config+="
Expand All @@ -166,11 +171,6 @@ $( < $file_module )"
<bll># i2cdetect -y $dev</bll>
$( i2cdetect -y $dev )"
fi
ignorepkg=$( grep ^IgnorePkg /etc/pacman.conf )
[[ $ignorepkg ]] && config+="
<bll># grep ^IgnorePkg /etc/pacman.conf</bll>
$ignorepkg"
echo "$config"
;;
timezone )
Expand Down

0 comments on commit 5183dca

Please sign in to comment.