#!/bin/sh
# System Script: Secondary Wrapup
#
# This does a few things that need to be run at shutdown, but need /usr
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin

# This command snaps the terminal back to the first virtual console
# (on which the singleuser console will appear if that's why we're
# shutting down)
chvt 1

# All the getty programs have been deactivated, but their virtual
# consoles will still be active.  This flushes them out.
deallocvt
