#!/bin/sh # generate udev rules for fetching updates . /lib/anaconda-lib.sh updates=$anac_updates [ -n "$updates" ] || return case $updates in # updates=: handled by livenet's fetch-liveupdate.sh http*|ftp*|nfs*) wait_for_updates ;; # updates=: # is sdb, /dev/sdb, LABEL=xxx, UUID=xxx # defaults to /updates.img if missing *) # accept hd:: (or cdrom::) updates=${updates#hd:}; updates=${updates#cdrom:} splitsep ":" "$updates" dev path dev=$(disk_to_dev_path "$dev") when_diskdev_appears "$dev" fetch-updates-disk "\$env{DEVNAME}" "$path" wait_for_updates ;; esac