#!/bin/bash # code=`cat /opt/wd/99-Temp/shutdown.txt` if [[ -f "/opt/wd/99-Temp/shutdown" ]]; then poweroff fi