haiku/data/system/boot/InstallerFinishScript

20 lines
233 B
Bash

#!/bin/sh
## The installer finish script.
mount=$1
if [ -z "$mount" ]; then
echo "Usage: $0 volume"
exit 1
fi
if [ ! -d "$mount" ]; then
echo "$mount isn't mounted"
exit 1
fi
mkdir -p "$mount/var/tmp"
makebootable "$mount"