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

update

parent 342d96f3
No related branches found
No related tags found
No related merge requests found
......@@ -81,5 +81,42 @@ config_66(){
}
custo_once config_66
<<<<<<< HEAD
=======
config_user(){
out_action "Create ${NEWUSER} .scandir file"
su "${NEWUSER}" -c "cat > /home/${NEWUSER}/.scandir <<EOF
#!/usr/bin/execlineb -P
#emptyenv -p
s6-setsid -qb --
umask 022
66-scandir -v3 -cu
EOF"
out_action "Set 750 permissions on .scandir file"
su "${NEWUSER}" -c "chmod 750 /home/${NEWUSER}/.scandir"
out_action "Create ${NEWUSER} .zprofile file"
su "${NEWUSER}" -c "cat > /home/${NEWUSER}/.zprofile <<EOF
## Execute scandir script
## Send a down signal, or 'could not sync environment to dbus' with sddm when user logout/login
## Send an up signal for services inside tree [gui]
(.scandir &) &
66-all -t gui down
sleep 01
66-all -t gui up
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
EOF"
}
custo_once config_user
>>>>>>> 7200a72... update with ck-launch-session
out_valid "Customization terminate"
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