[scripts] inner_chroot_script: copy /etc/skel to /root
This commit is contained in:
parent
07af2ecf33
commit
2caea4e4dd
@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# copy /root defaults from /etc/skel
|
||||||
|
rm -rf /root
|
||||||
|
cp /etc/skel /root -Rap
|
||||||
|
chown root:root /root -R
|
||||||
|
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
/usr/sbin/env-update && source /etc/profile
|
/usr/sbin/env-update && source /etc/profile
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user