From 3c51f4c8488ce4eef02ea04097627bd3c5ef38ed Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 6 Mar 2012 14:00:29 -0500 Subject: anaconda-lib: make sure we only run when_*_online jobs once --- dracut/anaconda-lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dracut/anaconda-lib.sh') 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 -- cgit