don't need these anymore
This commit is contained in:
1 parent
fcad068016
commit
6e927d68e5
2 files changed
-21
No files matched your search
@@ -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
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
launchctl unload ~/Library/LaunchAgents/org.home-assistant.plist
|
||||
rm ~/Library/LaunchAgents/org.home-assistant.plist
|
||||
Reference in new issue
Block a user