#!/bin/bash

ROOTFS=$1
[ -d "$ROOTFS" ] || {
	echo "Cannot find rootfs directory: $ROOTFS" 1>&2
	exit 1
}

sed -i "s/^/#/g" $ROOTFS/etc/fstab
