| 1 |
#!/bin/bash |
| 2 |
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh |
| 3 |
type runMediaCheck >/dev/null 2>&1 || . /lib/kiwi-live-lib.sh |
| 4 |
|
| 5 |
if getargbool 0 mediacheck || getargbool 0 rd.live.check; then |
| 6 |
declare root=${root} |
| 7 |
initGlobalDevices "${root#live:}" |
| 8 |
runMediaCheck |
| 9 |
fi |