From 3541f12849b277a2405a4d3bf692cf62f2045126 Mon Sep 17 00:00:00 2001 From: torben Date: Thu, 9 Apr 2015 03:27:39 +0200 Subject: Adding functions library. --- testModule/module-setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testModule/module-setup.sh') diff --git a/testModule/module-setup.sh b/testModule/module-setup.sh index b06de3f5..8b35d52a 100644 --- a/testModule/module-setup.sh +++ b/testModule/module-setup.sh @@ -10,11 +10,14 @@ depends() { } install() { + # Loads globally needed useful functions or fixes some native dracut ones. + inst_hook cmdline 10 "$moddir/library.sh" # 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_simple "$moddir/busybox" /usr/bin/busybox #inst_hook pre-mount 20 "$moddir/setup_network.sh" - inst_multiple ping ip ifconfig mount sshd htop dhclient tail head cat vim touch + inst_multiple ping ip ifconfig sshd htop dhclient tail head cat vim touch sed return 0 } -- cgit v1.2.3-55-g7522