wok view shutdown/stuff/shutdown @ rev 22976

updated jsoncpp again (1.8.4 -> 1.9.2)
author Hans-Günter Theisgen
date Sat Feb 29 15:39:04 2020 +0100 (2020-02-29)
parents 68bd2134ab54
children
line source
1 #!/bin/sh
3 #
4 # This should do more, but this at least gets other scripts/tools the ability to
5 # use 'shutdown -r now' or similar.
6 #
8 if [ "x$1" = "x-r" ]; then
9 /sbin/reboot
10 else
11 /sbin/poweroff
12 fi