mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-09-20 07:31:41 +02:00
sys: fix gathering of information about loaded modules.
cut is in /usr/bin actually.
This commit is contained in:
parent
d32cc2318c
commit
49a5c56321
@ -37,6 +37,8 @@ version 0.9.9 -- UNRELEASED
|
|||||||
. Do arithmetic using bash rather than bc (Closes: #603173)
|
. Do arithmetic using bash rather than bc (Closes: #603173)
|
||||||
sys:
|
sys:
|
||||||
. Fix hwinfo (Closes: #625501)
|
. Fix hwinfo (Closes: #625501)
|
||||||
|
. Fix gathering of information about loaded modules:
|
||||||
|
cut is in /usr/bin actually.
|
||||||
tar:
|
tar:
|
||||||
. Install by default. (Closes Redmine bug #2907)
|
. Install by default. (Closes Redmine bug #2907)
|
||||||
helper changes
|
helper changes
|
||||||
|
@ -350,7 +350,7 @@ STATUS="Getting kernel version:"
|
|||||||
catifexec "/bin/uname" "-a"
|
catifexec "/bin/uname" "-a"
|
||||||
STATUS="Checking module information:"
|
STATUS="Checking module information:"
|
||||||
catifexec "/sbin/lsmod"
|
catifexec "/sbin/lsmod"
|
||||||
for x in $(/sbin/lsmod | /bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null
|
for x in $(/sbin/lsmod | /usr/bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null
|
||||||
) ; do
|
) ; do
|
||||||
STATUS="Checking module information $x:"
|
STATUS="Checking module information $x:"
|
||||||
catifexec "/sbin/modinfo" "$x"
|
catifexec "/sbin/modinfo" "$x"
|
||||||
|
Loading…
Reference in New Issue
Block a user