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

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