1
0
mirror of synced 2026-01-22 02:05:22 +00:00

2006-04-28 12:06:19 by steve

Add script to copy from skel directory, if present.
This commit is contained in:
steve 2006-04-28 12:06:19 +00:00
parent 3c6789beb1
commit 54d9b68e7e

14
etc/hook.d/65-copy-user-files Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
#
# Copy files from a 'skel' directory, if present, into the
# new images
#
prefix=$1
if [ -d /etc/xen-tools/skel ]; then
cp -RL /etc/xen-tools/skel/* ${prefix}/
else
echo "skel directory not present, ignoring."
fi