X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpost-install;h=22435ae8cf22a8145e50c5dbadb012c63a3038f2;hb=09d90aecd59ed3f258a29f54a3cacdac312f3d0c;hp=fba81f2060aef54fac52cd65b910b02eb6e51027;hpb=2ad910e22979500192ea43d5599ad003440744a4;p=hvlinux.git diff --git a/stage2/post-install b/stage2/post-install index fba81f2..22435ae 100755 --- a/stage2/post-install +++ b/stage2/post-install @@ -1,9 +1,6 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -source ../config/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,usb,shutdown -s /bin/bash -m ${REGUSER} fi echo "Copying /etc/skel files to root directory"