Skip to content

Commit

Permalink
Install kasacmd too
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fb-martin committed Dec 18, 2021
1 parent 9334e52 commit 56bf0fb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ install:
mkdir -p /var/lib/house
mkdir -p /etc/house
rm -f /usr/local/bin/housekasa /etc/init.d/housekasa
cp housekasa /usr/local/bin
cp housekasa kasacmd /usr/local/bin
cp init.debian /etc/init.d/housekasa
chown root:root /usr/local/bin/housekasa /etc/init.d/housekasa
chmod 755 /usr/local/bin/housekasa /etc/init.d/housekasa
chown root:root /usr/local/bin/housekasa /usr/local/bin/kasacmd /etc/init.d/housekasa
chmod 755 /usr/local/bin/housekasa /usr/local/bin/kasacmd /etc/init.d/housekasa
mkdir -p $(SHARE)/public/kasa
chmod 755 $(SHARE) $(SHARE)/public $(SHARE)/public/kasa
cp public/* $(SHARE)/public/kasa
Expand All @@ -43,7 +43,8 @@ install:
uninstall:
systemctl stop housekasa
systemctl disable housekasa
rm -f /usr/local/bin/housekasa /etc/init.d/housekasa
rm -f /usr/local/bin/housekasa /usr/local/bin/kasacmd /etc/init.d/housekasa
rm -rf $(SHARE)/public/kasa
systemctl daemon-reload

purge: uninstall
Expand Down

0 comments on commit 56bf0fb

Please sign in to comment.