moved config to /etc

This commit is contained in:
erpalma
2018-04-03 11:17:18 +02:00
parent d9a459b12b
commit 5d6cfaa572
4 changed files with 81 additions and 46 deletions

View File

@@ -2,6 +2,11 @@ all: install
install:
install -d /usr/local/sbin/
install -m 700 lenovo_fix.py /usr/local/sbin/
install -d /etc/systemd/system/
install -m 644 lenovo_fix.service /etc/systemd/system/
install -m 700 lenovo_fix.py /usr/local/sbin/
install -m 644 systemd/lenovo_fix.service /etc/systemd/system/
@if test -f /etc/lenovo_fix.conf; then \
echo "/etc/lenovo_fix.conf already exists; overwrite manually"; \
else \
install -m 644 etc/lenovo_fix.conf /etc/; \
fi