You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
470 B
23 lines
470 B
#!/bin/bash |
|
|
|
check() { |
|
return 255 |
|
} |
|
|
|
depends() { |
|
return 0 |
|
} |
|
|
|
install() { |
|
mv -f "$initdir/init" "$initdir/init.dracut" |
|
inst_script "$moddir/init-fadump.sh" /init |
|
chmod a+x "$initdir/init" |
|
|
|
# Install required binaries for the init script (init-fadump.sh) |
|
inst_multiple sh modprobe grep mkdir mount |
|
if dracut_module_included "squash"; then |
|
inst_multiple cp pivot_root umount |
|
else |
|
inst_multiple ls mv switch_root |
|
fi |
|
}
|
|
|