diff options
author | Martin Sivak <msivak@redhat.com> | 2013-03-07 18:18:09 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2013-03-25 14:23:14 +0100 |
commit | 6bae06d00ee870f8629e61d67b133008b7c135d3 (patch) | |
tree | ba4b30c5d31a5ecd726b6bb386723fb2bf49afc3 | |
parent | 1a6826eb9ae1d8c63a48eb12ae7bb33f8b25a87d (diff) | |
download | anaconda-6bae06d00ee870f8629e61d67b133008b7c135d3.tar.gz anaconda-6bae06d00ee870f8629e61d67b133008b7c135d3.tar.xz anaconda-6bae06d00ee870f8629e61d67b133008b7c135d3.zip |
Fix the rmmod logic
-rwxr-xr-x | dracut/driver-updates.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dracut/driver-updates.sh b/dracut/driver-updates.sh index 327370faf..a07722ac0 100755 --- a/dracut/driver-updates.sh +++ b/dracut/driver-updates.sh @@ -214,8 +214,8 @@ function driverupdatedisc() depmod -a # get a list of modules that weren't loaded when this script started - cut -f1 -d " " /proc/modules | sort >/tmp/dud_state_current - cat /tmp/dud_state /tmp/dud_state_current | uniq -u >/tmp/dud_rmmod + cut -f1 -d " " /proc/modules >/tmp/dud_state_current + cat /tmp/dud_state /tmp/dud_state_current | sort | uniq -u >/tmp/dud_rmmod # iterative removal of package dependencies local REMOVING=1 @@ -249,7 +249,7 @@ function driverupdatedisc() # save module state -cut -f1 -d " " /proc/modules | sort >/tmp/dud_state +cut -f1 -d " " /proc/modules >/tmp/dud_state # get hw architecture ARCH=$(uname -i) |