X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpost-install;h=fb6c9924a77a09003a1b46f02b0ba34eaf0d3e19;hb=c264b89a6f18ecf0d5d7c65172ff9dbc23825648;hp=74122ad39f76da61120b15ce77a3113c6c4d5347;hpb=907fcfdccdd0ddd33accef87490f9e0b750797ad;p=hvlinux.git diff --git a/stage2/post-install b/stage2/post-install index 74122ad..fb6c992 100755 --- a/stage2/post-install +++ b/stage2/post-install @@ -1,9 +1,6 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../packages-list +source ../functions/main cat > /etc/default/useradd << "EOF" # useradd defaults file @@ -18,7 +15,7 @@ EOF chmod -v 644 /etc/default/useradd if [ -n "${REGUSER}" ]; then - hv_useradd -g users -G audio,video,usb -s /bin/bash -m ${REGUSER} + hv_useradd -g users -G audio,video,cdrom,usb,shutdown -s /bin/bash -m ${REGUSER} fi echo "Copying /etc/skel files to root directory"