The log-location-to-notifo.sh file looks like this (sorry about the long lines): #!/bin/sh I used the sample rc.* files provided and added a line to rc.wakeup: /usr/local/bin/log-location-to-notifo.sh Step 2: Shell Script I used the example files included in the distribution and made a file at /Library/LaunchAgents/de. ?xml version="1.0" encoding="UTF-8"?> is unplugged from a power supply (laptop).is plugged in to a power supply (laptop).display is undimmed without having gone to sleep.is put to sleep (must run for less than 15 seconds).According to the man page, the following events can be used as triggers. (You might be imagining a possible problem here discussed below) Step 1: SleepWatcherįirst we need the ability to run a script when the laptop wakes up, and the SleepWatcher tool is a great way to run commands when certain events happen. If you don’t have a password prompt, then suspect helpfully connects your computer to a network in order to use it, and you get notified. If laptop is still connected to a known wireless network, or if Third Party has plugged in a network cable, laptop determines its latitude and longitude and sends notification. Third party sees password prompt (you have that turned on, right?) and wonders. Third party opens laptop to snoop or legitimately try to identify owner.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |