macOS tools moving to my git
This commit is contained in:
10
wakelogstart
Executable file
10
wakelogstart
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
cname=`scutil --get ComputerName`
|
||||
export CNAME=$cname
|
||||
|
||||
echo "" > /tmp/wakereasons.txt
|
||||
echo "// wakelog" >> /tmp/wakereasons.txt
|
||||
echo " " `date` >> /tmp/wakereasons.txt
|
||||
echo " machine: ${cname}" >> /tmp/wakereasons.txt
|
||||
echo "-------------------------------------------------------------------"
|
||||
Reference in New Issue
Block a user