blob: b21148ac0b03b77854f244dc1c7c32b1437beb49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#!/bin/bash
# called by dracut
check() {
# do not add this module by default
return 255
}
# called by dracut
depends() {
return 0
}
# called by dracut
install() {
inst_multiple -o \
cat \
chroot \
cp \
dd \
df \
du \
e2fsck \
findmnt \
find \
free \
fsck \
fsck.ext2 \
fsck.ext3 \
fsck.ext4 \
fsck.ext4dev \
fsck.f2fs \
fsck.vfat \
grep \
hostname \
less \
ls \
lsblk \
mkdir \
more \
netstat \
ping \
ping6 \
ps \
rm \
rpcinfo \
scp \
showmount \
ssh \
strace \
systemd-analyze \
tcpdump \
vi
grep '^tcpdump:' "$dracutsysrootdir"/etc/passwd 2> /dev/null >> "$initdir/etc/passwd"
}
|