Skip to content
Snippets Groups Projects
Commit 792f7bae authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix su command

parent 2db253a2
No related branches found
No related tags found
No related merge requests found
......@@ -50,16 +50,14 @@ create_log_user(){
}
custo_once create_log_user
## Configure S6 service
config(){
out_action "Enable dbus,connmand, consolekit,wpa_supplicant and ntpd on tree root"
66-enable connmand ntpd consolekit wpa_supplicant
66-enable -t root connmand ntpd consolekit wpa_supplicant
out_action "Create tree graphics for ${NEWUSER}, enables and makes it current"
su "${NEWUSER}" -c 66-tree -Ecn graphics
su "${NEWUSER}" -c "66-tree -Ecn graphics"
out_action "Enable dbus-user and xdg-user-dirs on tree graphics"
su "${NEWUSER}" -c 66-enable dbus-user xdg-user-dirs
su "${NEWUSER}" -c "66-enable -t graphics dbus-user xdg-user-dirs"
}
custo_once config
......
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