#! /bin/sh set -ue . /lib/fripost-partman/base.sh log "Starting..." db_input high fripost/partition-script || true db_go db_get fripost/partition-script script=/"${RET#/}" [ -f "$script" -a -x "$script" ] || \ fatal "$script does not exist, or is not executable." log "Running $script" log-output -t fripost-partman "$script" rv=$? if [ $rv -ne 0 ]; then log "Partitioning script failed; exited with $rv" exit $rv fi log "Partitioning appears to have completed successfully."