1
0
mirror of synced 2026-01-19 09:08:30 +00:00
steve efa1df08de 2006-06-09 10:30:37 by steve
Added to the repository.  These are almost straight copies of the
 previous hook scripts except they are now Debian-specific.

  They also each log their start and finish and optional information
 via the use of the ../common.sh file.

  No major changes anticipated.
2006-06-09 10:30:37 +00:00

39 lines
418 B
Bash
Executable File

#!/bin/sh
#
# This script ensures that the new guest images have a nicely
# populated /dev directory.
#
# Steve
# --
# http://www.steve.org.uk/
prefix=$1
#
# Source our common functions
#
if [ -e ../common.sh ]; then
. ../common.sh
fi
#
# Log our start
#
logMessage Script $0 starting
#
# Make the device nodes.
#
cd ${prefix}/dev
./MAKEDEV generic
#
# Log our finish
#
logMessage Script $0 finished