#!/bin/sh # DESCRIPTION # # Update /etc/fstab for rootfs # REQUIRES # # Nothing # INFO # NAME="init1-fstab" verbose() { if [ -n "$GLOBAL_VERBOSE" ]; then echo "HOOK: $NAME: $@" fi } verbose "has started" verbose "Add / to /etc/fstab" echo "/dev/root / auto defaults 0 0" >>/etc/fstab verbose "finished"