#!/bin/sh

# Check if virtual disk has been resized and partitions needs extending
if [ -x /sbin/extend-disk ]; then
    /sbin/extend-disk
fi

# Rebuild /etc/issue
if [ -x /usr/bin/vmmgr ]; then
    /usr/bin/vmmgr rebuild-issue
fi

# Print /etc/issue
/bin/cat /etc/issue

# Wait for key press
read a
