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

create live even for root

parent 899adb2e
Branches
Tags
No related merge requests found
......@@ -52,12 +52,12 @@ custo_once create_log_user
config_66(){
# creation of the live/ to avoid crash
mkdir -p -m1777 /run/66/{state,tree}
out_action "Enable dbus,connmand, consolekit,wpa_supplicant and ntpd on tree root"
66-enable connmand ntpd consolekit wpa_supplicant
out_action "Create tree graphics for ${NEWUSER}, enables and makes it current"
su "${NEWUSER}" -c "66-tree -Ecn graphics"
# creation of the live/state/uid to avoid crash
mkdir -p -m1777 /run/66/{state,tree}
out_action "Enable dbus-user and xdg-user-dirs on tree graphics"
su "${NEWUSER}" -c "66-enable -t graphics dbus-user xdg-user-dirs"
rm -rf /run/66
......
......@@ -45,10 +45,11 @@ custo_once() {
############################## only modifie this script after this line ############################
config(){
# creation of the live/ to avoid crash
mkdir -p -m1777 /run/66/{state,tree}
out_action "Enable dhcpd service"
66-enable dhcpcd
rm -rf /run/66
}
custo_once config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment