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

use -t option at 66-env call

parent 9e852ad9
Branches
Tags
No related merge requests found
......@@ -64,7 +64,7 @@ config_enable_boot(){
oblog "Configure boot@system service"
66-env -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
66-env -t boot -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
oblog "Apply change to the boot@system service"
......
......@@ -62,7 +62,7 @@ config_enable_boot(){
66-enable -zv3 -t boot -F boot@system || die "unable to enable boot@system"
66-env -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
66-env -t boot -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
oblog "Apply change to the boot@system service"
......
......@@ -62,7 +62,7 @@ config_enable_boot(){
66-enable -zv3 -t boot -F boot@system || die "unable to enable boot@system"
66-env -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" || die "unable to configure boot@system service"
66-env -t boot -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" || die "unable to configure boot@system service"
oblog "Apply change to the boot@system service"
......@@ -99,7 +99,7 @@ config_enable_boot_user(){
oblog "Configure boot-user@${NEWUSER} service"
66-env -r "DESKTOP_CMDLINE=\!openbox-session" boot-user@${NEWUSER} || die "unable to set DESKTOP_CMDLINE"
66-env -t boot-user -r "DESKTOP_CMDLINE=\!openbox-session" boot-user@${NEWUSER} || die "unable to set DESKTOP_CMDLINE"
oblog "Apply change to the boot-user@{NEWUSER} service"
......
......@@ -88,7 +88,7 @@ config_enable_boot(){
oblog "Configure (boot@system) service"
out_progress "Starting ..."
66-env -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
66-env -t boot -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
oblog "Apply change to the (boot@system) service"
out_progress "Starting ..."
......@@ -144,7 +144,7 @@ config_enable_boot_user(){
oblog "Configure (boot-user@${NEWUSER}) service"
out_progress "Starting ..."
66-env -r "DESKTOP_CMDLINE=\!startplasma-x11" boot-user@${NEWUSER} || die "unable to set DESKTOP_CMDLINE"
66-env -t ${NEWUSER}-session -r "DESKTOP_CMDLINE=\!startplasma-x11" boot-user@${NEWUSER} || die "unable to set DESKTOP_CMDLINE"
out_progress "Done"
......
......@@ -65,7 +65,7 @@ config_enable_boot(){
oblog "Configure boot@system service"
66-env -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
66-env -t boot -r "HOSTNAME=\!${HOSTNAME}" -r "KEYMAP=\!${KEYMAP}" -r "TZ=${ZONE}/${SUBZONE}" boot@system || die "unable to configure boot@system service"
oblog "Apply change to the boot@system service"
......@@ -105,7 +105,7 @@ config_enable_boot_user(){
oblog "Configure boot-user@${NEWUSER} service"
66-env -r "DESKTOP_CMDLINE=\!xfce4-session" boot-user@${NEWUSER} || die "unable to set DESKTOP_CMDLINE"
66-env -t boot-user -r "DESKTOP_CMDLINE=\!xfce4-session" boot-user@${NEWUSER} || die "unable to set DESKTOP_CMDLINE"
oblog "Apply change to the boot-user@{NEWUSER} service"
66-enable -zv3 -t boot-user -F boot-user@${NEWUSER} || die "unable to apply boot-user changes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment