summaryrefslogtreecommitdiffstats
path: root/testModule/module-setup.sh
diff options
context:
space:
mode:
authortorben2015-04-09 02:02:46 +0200
committertorben2015-04-09 02:02:46 +0200
commit46dfa60a5faf8c460143beabb9592588abed3902 (patch)
tree3842b8b856741ffb54aa0acad68ea8c85f5ff742 /testModule/module-setup.sh
parentRemove old approach to get internet. Adding command line parsing for (diff)
downloadsystemd-init-46dfa60a5faf8c460143beabb9592588abed3902.tar.gz
systemd-init-46dfa60a5faf8c460143beabb9592588abed3902.tar.xz
systemd-init-46dfa60a5faf8c460143beabb9592588abed3902.zip
Trying convert given pxe ip configuration to dracut compatible one.
Diffstat (limited to 'testModule/module-setup.sh')
-rw-r--r--testModule/module-setup.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/testModule/module-setup.sh b/testModule/module-setup.sh
index 652602f5..b06de3f5 100644
--- a/testModule/module-setup.sh
+++ b/testModule/module-setup.sh
@@ -10,9 +10,11 @@ depends() {
}
install() {
- inst_hook cmdline 20 "$moddir/parse-ip.sh"
- inst_hook pre-mount 20 "$moddir/setup_network.sh"
- inst_multiple ping ip ifconfig mount sshd htop dhclient
+ # NOTE: Priority has to be greater than the network cmdline parsing hooks
+ # since we have to modify the some kernel parameter before.
+ inst_hook cmdline 100 "$moddir/parse-ip.sh"
+ #inst_hook pre-mount 20 "$moddir/setup_network.sh"
+ inst_multiple ping ip ifconfig mount sshd htop dhclient tail head cat vim touch
return 0
}