Files
recycled-ni-neutrino/data/scripts/wakeup.sh
vanhofen a86bc779b4 NI \o/
Origin commit data
------------------
Branch: ni/coolstream
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-05-19 22:59:54 +02:00

13 lines
273 B
Bash

#!/bin/sh
. /etc/init.d/globals
test $1 || { SHOWINFO "error"; exit 1; }
directory="$(echo ${@%/})"
timestamp="$(date +%Y%m%d%H%M%S)"
flag="${directory}/.wakeUp_${timestamp}"
SHOWINFO "try to wake up \"${directory}\" ..."
touch "${flag}" 2>/dev/null && rm -f "${flag}"