blob: 5990db3fbae1117a6b2195d833e81a84987b555a (
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
|
#!/bin/sh
exec >&3
echo "-- /proc/cmdline"
cat /proc/cmdline
echo
echo "-- /proc/filesystems"
grep -v nodev /proc/filesystems
echo
echo "-- lsmod"
lsmod
echo
if [ -r /etc/kernel-img.conf ]; then
echo "-- /etc/kernel-img.conf"
cat /etc/kernel-img.conf
echo
fi
if [ -r /etc/initramfs-tools/initramfs.conf ]; then
echo "-- /etc/initramfs-tools/initramfs.conf"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf
echo
fi
|