summaryrefslogtreecommitdiff
path: root/virtual/miller-base/files/update-autoshutdown
blob: 05afcc369b3133660ad28c85d85d7639725b7ee8 (plain)
1
2
3
4
#!/bin/bash

if [ `who -q | grep ^# | cut -d = -f 2` -eq 0 ] ; then systemctl poweroff ; fi