X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpost-install;h=6c953a97ec8518ccfb0cccd53ac979a10dc31f52;hb=46a6cd65aaf72c044223fa7c33a28d6e99fa1f20;hp=e5adb97ab1e2f0a7b5348c01a2a92d683aa9a473;hpb=d4f236d852479ef1b930f73a85084aa5bbc2d2a5;p=hvlinux.git diff --git a/stage5/post-install b/stage5/post-install index e5adb97..6c953a9 100755 --- a/stage5/post-install +++ b/stage5/post-install @@ -2,6 +2,11 @@ source ../functions/main +if [ -n "${REGUSER}" ]; then + hv_useradd -g users -G audio,video,cdrom,usb,shutdown,halusers \ + -s /bin/bash -m ${REGUSER} +fi + if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then #########################################