show rootfs type on-screen during boot
Signed-off-by: Adam Michel <elfurbe@furbism.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
43b298f3aa
commit
9d7e1a51c0
@@ -26,8 +26,9 @@ mount -t tmpfs tmpfs /run
|
||||
|
||||
chmod 755 /warewulf/wwinit
|
||||
|
||||
echo "Checking Rootfs type"
|
||||
echo -n "Checking Rootfs type..."
|
||||
ROOTFSTYPE=`stat -f -c "%T" /`
|
||||
echo "${ROOTFSTYPE}"
|
||||
|
||||
if test "$WWROOT" = "initramfs"; then
|
||||
echo "Provisioned to default initramfs file system: $ROOTFSTYPE"
|
||||
|
||||
Reference in New Issue
Block a user