mirror of
https://github.com/Evidlo/remarkable_printer.git
synced 2024-10-20 03:27:37 -04:00
fix insall script on mac
This commit is contained in:
parent
54881b33ed
commit
8ae644293e
8
Makefile
8
Makefile
|
@ -21,14 +21,10 @@ download_prebuilt:
|
|||
.PHONY: install
|
||||
install: printer.arm
|
||||
ssh-add
|
||||
ssh root@$(host) systemctl stop printer
|
||||
ssh root@$(host) systemctl stop printer 2>&1 >/dev/null
|
||||
scp printer.arm root@$(host):
|
||||
scp printer.service root@$(host):/etc/systemd/system
|
||||
ssh root@$(host) <<- ENDSSH
|
||||
systemctl daemon-reload
|
||||
systemctl enable printer
|
||||
systemctl restart printer
|
||||
ENDSSH
|
||||
ssh root@$(host) 'systemctl daemon-reload && systemctl enable printer && systemctl restart printer'
|
||||
|
||||
.PHONY: release
|
||||
release: printer.arm printer.x86
|
||||
|
|
Loading…
Reference in a new issue