rewrite based on reference project from github
This commit is contained in:
16
dracut-module/90netboot/module-setup.sh
Executable file
16
dracut-module/90netboot/module-setup.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
check() {
|
||||
return 0
|
||||
}
|
||||
|
||||
depends() {
|
||||
echo network url-lib
|
||||
return 0
|
||||
}
|
||||
|
||||
install() {
|
||||
inst_hook cmdline 90 "$moddir/parse-netboot.sh"
|
||||
inst_hook pre-mount 90 "$moddir/mount-netboot.sh"
|
||||
inst_multiple wget curl
|
||||
}
|
||||
Reference in New Issue
Block a user