macOS tools moving to my git
This commit is contained in:
25
test
Executable file
25
test
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
export PATH=$PATH:/usr/bin/local
|
||||
cname=`scutil --get ComputerName`
|
||||
|
||||
echo ""
|
||||
echo "Script:"
|
||||
echo "presleep_quitapps"
|
||||
echo "------------------------------------------------------------------------"
|
||||
echo "Machine:" $cname
|
||||
echo `date`
|
||||
echo ""
|
||||
|
||||
# machine specific: Angus && Petula, turn off HomeKit stuff
|
||||
if [[ $cname = "Angus" || $cname = "Petula" ]];
|
||||
then
|
||||
echo "** Machine Specific: $cname"
|
||||
echo $'\t' "this works test"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
echo "------------------------------------------------------------------------"
|
||||
echo `date`
|
||||
Reference in New Issue
Block a user