Compare commits

...

2 commits

Author SHA1 Message Date
mwiegand
3d070abca7 comment 2021-10-31 17:50:29 +01:00
mwiegand
d8f887a4eb raspberry ebian ssh workaround? 2021-10-31 17:50:21 +01:00
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,9 @@ do
output=$(smartctl -n standby -i $device)
exitstatus=$?
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:")
then

View file

@ -7,6 +7,7 @@ if not node.in_group('raspberry-pi'):
}
svc_systemd['ssh'] = {
'running': not node.in_group('raspberry-pi'), # FIXME
'needs': [
'tag:ssh_users',
],