Fix phases switch (allegedly)
This commit is contained in:
parent
6989ca2721
commit
f48f0f798c
1 changed files with 6 additions and 1 deletions
|
@ -34,10 +34,15 @@ in
|
||||||
if [ -x "$switch" ]
|
if [ -x "$switch" ]
|
||||||
then
|
then
|
||||||
sudo "$switch" test &
|
sudo "$switch" test &
|
||||||
sudo "$switch" boot &
|
|
||||||
fi
|
fi
|
||||||
${builtins.getAttr phase.command config.frogeye.desktop.phasesCommands}
|
${builtins.getAttr phase.command config.frogeye.desktop.phasesCommands}
|
||||||
wait
|
wait
|
||||||
|
# Boot does not have to be set immediately and can result to lock issues with test,
|
||||||
|
# so it is run at the end
|
||||||
|
if [ -x "$switch" ]
|
||||||
|
then
|
||||||
|
sudo "$switch" boot
|
||||||
|
fi
|
||||||
'')
|
'')
|
||||||
) phases)
|
) phases)
|
||||||
++ (with pkgs; [
|
++ (with pkgs; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue