File: script

package info (click to toggle)
initramfs-tools 0.85g
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 308 kB
  • ctags: 35
  • sloc: sh: 1,260; makefile: 7
file content (21 lines) | stat: -rwxr-xr-x 262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 "-- kernel-img.conf"
	cat /etc/kernel-img.conf
	echo
fi