#!/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
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