]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
debug: add more tools to the dracut debug module
authorHarald Hoyer <harald@redhat.com>
Tue, 24 Mar 2015 14:56:00 +0000 (15:56 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 24 Mar 2015 15:03:47 +0000 (16:03 +0100)
modules.d/95debug/module-setup.sh

index 5a9aaaca62f6712f4fa16cb2231414627bd1ab1d..ce5e8e850706f1a71ea8b9c8ac824a9843e5a3ac 100755 (executable)
@@ -13,8 +13,11 @@ depends() {
 
 # called by dracut
 install() {
-    inst_multiple -o ps grep more cat rm strace free showmount \
-        ping netstat rpcinfo vi scp ping6 ssh find vi \
-        fsck fsck.ext2 fsck.ext4 fsck.ext3 fsck.ext4dev fsck.vfat e2fsck
+    inst_multiple -o cat ls ps grep more cat rm strace free showmount \
+                  ping netstat rpcinfo vi scp ping6 ssh find vi \
+                  tcpdump cp less hostname mkdir \
+                  fsck fsck.ext2 fsck.ext4 fsck.ext3 fsck.ext4dev fsck.vfat e2fsck
+
+    egrep '^tcpdump:' /etc/passwd 2>/dev/null >> "$initdir/etc/passwd"
 }