Skip to content

Commit

Permalink
Fix OS check (was failing on rocky linux 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Oct 22, 2024
1 parent dc0ae0d commit 74af94b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/usr/bin/pf_ringctl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#

DISTRO="unknown"
if [ -f /lib/lsb/init-functions ]; then
if grep -q 'ID_LIKE=debian\|ID=debian' /etc/os-release; then
#if [ -f /lib/lsb/init-functions ]; then
DISTRO="debian"
. /lib/lsb/init-functions
elif [ -f /etc/init.d/functions ]; then
Expand Down

0 comments on commit 74af94b

Please sign in to comment.