X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpost-install;h=5da1992f8a7df5b3fbaac4aa15738878ed5eab67;hb=084138d08f9c85bbb7ba547e5e335cb478c4b11c;hp=fba81f2060aef54fac52cd65b910b02eb6e51027;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage2/post-install b/stage2/post-install index fba81f2..5da1992 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 @@ -17,12 +14,8 @@ EOF chmod -v 644 /etc/default/useradd -if [ -n "${REGUSER}" ]; then - hv_useradd -g users -G audio,video,usb -s /bin/bash -m ${REGUSER} -fi - echo "Copying /etc/skel files to root directory" -# Copy skel files to root directory. First create a copy to change owner +# First create a copy to change owner cp -au /etc/skel/.??* /root # Fixing ownership of directories /tmp and /var/log (may have been created by