#!/usr/bin/env bash . /etc/openslx # The device should have been discovered by openslx_tmp_format hook # and written to /etc/openslx if [ -n "${SLX_TMP_PARTITION_DEVICE}" ]; then mount -t auto "${SLX_TMP_PARTITION_DEVICE}" "${NEWROOT}/tmp" chmod a+rwxt "${NEWROOT}/tmp" # TODO fstab fi