diskimage-builder/diskimage_builder/elements/ilo/ramdisk-install.d/50-ilo-firmware

14 lines
165 B
Text
Raw Normal View History

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
if [ ! -d /tmp/ilo ]; then
exit 0
fi
mv /tmp/ilo "$TMP_MOUNT_PATH"