diff --git a/etc/hook.d/55-create-dev b/etc/hook.d/55-create-dev new file mode 100755 index 0000000..4dc5d5d --- /dev/null +++ b/etc/hook.d/55-create-dev @@ -0,0 +1,22 @@ +#!/bin/sh +# +# This script ensures that the new guest images have a nicely +# populated /dev directory. +# +# Steve +# -- +# $Id: 55-create-dev,v 1.1 2006-02-18 12:23:01 steve Exp $ + + +prefix=$1 + +# +# Make sure we have a /dev directory and change into it. +# +mkdir -p ${prefix}/dev +cd ${prefix}/dev + +# +# Make the devices. +# +./MAKEDEV generic \ No newline at end of file