don't need these anymore

This commit is contained in:
Jon Maddox 2015-09-15 02:20:40 -04:00
parent fcad068016
commit 6e927d68e5
2 changed files with 0 additions and 21 deletions

View File

@ -1,17 +0,0 @@
#!/bin/sh
set -e
echo "Installing homebridge..."
APP_PATH=`pwd`
HASS_PATH=`which hass`
USER_NAME=`whoami`
cp scripts/org.home-assistant.plist ~/Library/LaunchAgents/org.home-assistant.plist
sed -i '' -e "s#%USER%#$USER_NAME#g" ~/Library/LaunchAgents/org.home-assistant.plist
sed -i '' -e "s#%PATH%#$APP_PATH#g" ~/Library/LaunchAgents/org.home-assistant.plist
sed -i '' -e "s#%HASS_PATH%#$HASS_PATH#g" ~/Library/LaunchAgents/org.home-assistant.plist
launchctl load -w -F ~/Library/LaunchAgents/org.home-assistant.plist

View File

@ -1,4 +0,0 @@
#!/bin/sh
launchctl unload ~/Library/LaunchAgents/org.home-assistant.plist
rm ~/Library/LaunchAgents/org.home-assistant.plist