Skip to content
Snippets Groups Projects
Commit aa9368ea authored by jean-michel's avatar jean-michel
Browse files

comment out by default

parent b26636c7
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,30 @@ create_log_user(){
out_action "add ${NEWUSER} at log group"
gpasswd -a "$NEWUSER" log
}
custo_once create_log_user
custo_once create_log_user
config_vguest(){
exec 2>/dev/null
file="virtualbox-guest-utils"
if [ "$(pacman -Qe virtualbox-guest-utils | grep -o virtualbox-guest-utils)" = "$file" ] ; then
echo "Package "$file" was found."
out_action "Create 'modules-load.d' directory"
mkdir /etc/modules-load.d
out_action "Create vbox.conf file"
cat > /etc/modules-load.d/vbox.conf <<EOF
vboxsf
vboxvideo
EOF
else
echo "package "$file" was not found"
fi
}
custo_once config_vguest
config_66(){
......@@ -111,7 +134,7 @@ EOF"
out_action "Create ${NEWUSER} .xinitrc file"
su "${NEWUSER}" -c "cat > /home/${NEWUSER}/.xinitrc <<EOF
## Uncomment if you use startx command line to launch plasma DE
exec ck-launch-session startkde
#exec ck-launch-session startkde
EOF"
}
custo_once config_user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment