Compare commits
2 commits
1536b4aa2c
...
3d070abca7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3d070abca7 | ||
![]() |
d8f887a4eb |
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,9 @@ do
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
unset power_level
|
unset power_level
|
||||||
|
|
||||||
|
# maybe find out power state by trying through all states and check when
|
||||||
|
# it stops exiting 2, sarting with deepest.
|
||||||
|
|
||||||
if $(echo $output | grep -q "Power mode is:")
|
if $(echo $output | grep -q "Power mode is:")
|
||||||
then
|
then
|
||||||
power_level=2
|
power_level=2
|
||||||
|
|
|
@ -7,6 +7,7 @@ if not node.in_group('raspberry-pi'):
|
||||||
}
|
}
|
||||||
|
|
||||||
svc_systemd['ssh'] = {
|
svc_systemd['ssh'] = {
|
||||||
|
'running': not node.in_group('raspberry-pi'), # FIXME
|
||||||
'needs': [
|
'needs': [
|
||||||
'tag:ssh_users',
|
'tag:ssh_users',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue