diff options
author | Will Woods <wwoods@redhat.com> | 2012-03-06 14:00:29 -0500 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2012-03-16 12:36:58 -0400 |
commit | 3c51f4c8488ce4eef02ea04097627bd3c5ef38ed (patch) | |
tree | b4bb51295c0eaa0f73f468a77832e7dd452446e7 /dracut/anaconda-lib.sh | |
parent | 13ad1af2b5e101d097e2ca4e2ec9a04c6967db8d (diff) | |
download | anaconda-3c51f4c8488ce4eef02ea04097627bd3c5ef38ed.tar.gz anaconda-3c51f4c8488ce4eef02ea04097627bd3c5ef38ed.tar.xz anaconda-3c51f4c8488ce4eef02ea04097627bd3c5ef38ed.zip |
anaconda-lib: make sure we only run when_*_online jobs once
Diffstat (limited to 'dracut/anaconda-lib.sh')
-rwxr-xr-x | dracut/anaconda-lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dracut/anaconda-lib.sh b/dracut/anaconda-lib.sh index 48aba0c62..c98c9adc7 100755 --- a/dracut/anaconda-lib.sh +++ b/dracut/anaconda-lib.sh @@ -73,7 +73,7 @@ disk_to_dev_path() { when_diskdev_appears() { local dev="${1#/dev/}" cmd=""; shift - cmd="/sbin/initqueue --settled --onetime --unique $*" + cmd="/sbin/initqueue --settled --onetime $*" { printf 'SUBSYSTEM=="block", KERNEL=="%s", RUN+="%s"\n' "$dev" "$cmd" printf 'SUBSYSTEM=="block", SYMLINK=="%s", RUN+="%s"\n' "$dev" "$cmd" @@ -89,7 +89,7 @@ set_neednet() { when_netdev_online() { printf 'SUBSYSTEM=="net", ACTION=="online", RUN+="%s"\n' \ - "/sbin/initqueue --settled $@" >> $rulesfile + "/sbin/initqueue --settled --onetime $@" >> $rulesfile } # Kickstart parsing goes at the end 'cuz it might use the other stuff |