MMCT TEAM
Server IP : 128.199.20.84  /  Your IP : 172.69.6.157
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux competent-maruti 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.0.20
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /usr/share/bug/initramfs-tools/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/bug/initramfs-tools/script
#!/bin/sh

exec >&3

echo "-- initramfs sizes"
ls -lh /boot/initrd.img-*

echo "-- /proc/cmdline"
cat /proc/cmdline
echo

if [ -r  /etc/initramfs-tools/conf.d/resume ]; then
	echo "-- resume"
	cat  /etc/initramfs-tools/conf.d/resume
fi

echo "-- /proc/filesystems"
grep -v nodev /proc/filesystems
echo

echo "-- lsmod"
lsmod
echo

if [ -r /etc/initramfs-tools/modules ]; then
	echo "-- /etc/initramfs-tools/modules"
	sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/modules
	echo
fi

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

if [ -r /etc/initramfs-tools/update-initramfs.conf ]; then
	echo "-- /etc/initramfs-tools/update-initramfs.conf"
	sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/update-initramfs.conf
	echo
fi

if [ -r /etc/crypttab ]; then
	echo "-- /etc/crypttab"
	cat /etc/crypttab
	echo
fi

if [ -r /proc/mdstat ]; then
	echo "-- /proc/mdstat"
	cat /proc/mdstat
	echo
fi

if grep -rq "MODULES=dep" /etc/initramfs-tools/ ; then
	echo "-- /sys/block"
	ls /sys/block
	echo
fi

echo "-- mkinitramfs hooks"
ls /usr/share/initramfs-tools/hooks /etc/initramfs-tools/hooks/
echo

MMCT - 2023