11 lines
232 B
Bash
11 lines
232 B
Bash
#!/bin/sh
|
|
|
|
if ! [ -f "/etc/ixvd/version" ]; then
|
|
echo "applying overlay..."
|
|
cp -r skel/. /
|
|
fi
|
|
|
|
if [ -d "servers/$HOSTNAME/skel" ]; then
|
|
echo "applying server specific skeleton..."
|
|
cp -r servers/$HOSTNAME/skel/. /
|
|
fi
|