1
0
mirror of synced 2026-05-01 06:08:37 +00:00
Files
xen-tools.xen-tools/etc/hook.d/65-copy-user-files
steve 54d9b68e7e 2006-04-28 12:06:19 by steve
Add script to copy from skel directory, if present.
2006-04-28 12:06:19 +00:00

15 lines
235 B
Bash
Executable File

#!/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