Files
haiku-beta6/data/system/boot/InstallerFinishScript
T

20 lines
233 B
Bash
Raw Normal View History

#!/bin/sh
## The installer finish script.
2008-03-29 15:40:49 +00:00
mount=$1
2009-07-17 15:28:03 +00:00
if [ -z "$mount" ]; then
2008-03-29 15:40:49 +00:00
echo "Usage: $0 volume"
exit 1
fi
2009-07-17 15:28:03 +00:00
if [ ! -d "$mount" ]; then
2008-03-29 15:40:49 +00:00
echo "$mount isn't mounted"
exit 1
fi
mkdir -p "$mount/var/tmp"
makebootable "$mount"