mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
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
This commit is contained in:
12
data/scripts/wakeup.sh
Normal file
12
data/scripts/wakeup.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/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}"
|
Reference in New Issue
Block a user