[scripts] inner_chroot_script: copy /etc/skel to /root

This commit is contained in:
Fabio Erculiani 2011-06-15 21:21:31 +02:00
parent 07af2ecf33
commit 2caea4e4dd

View File

@ -1,5 +1,10 @@
#!/bin/bash
# copy /root defaults from /etc/skel
rm -rf /root
cp /etc/skel /root -Rap
chown root:root /root -R
source /etc/profile
/usr/sbin/env-update && source /etc/profile