kull.masa-ayar.aktarim

This commit is contained in:
milisarge 2017-04-22 20:43:49 +03:00
parent ce0725c65b
commit a8847ae9d3
1 changed files with 4 additions and 0 deletions

4
bin/ko
View File

@ -122,6 +122,10 @@ else
/sbin/useradd -c "${description}" -G "$user_groups" -m "${name}" || exit 1
fi
if [ -f /root/.xinitrc ]; then
cp /root/.xinitrc /home/${name}/
fi
passwd "$name"
exit 0