2006-04-28 12:06:19 by steve
Add script to copy from skel directory, if present.
This commit is contained in:
parent
3c6789beb1
commit
54d9b68e7e
14
etc/hook.d/65-copy-user-files
Executable file
14
etc/hook.d/65-copy-user-files
Executable 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
|
||||
Loading…
x
Reference in New Issue
Block a user