moved config to /etc
This commit is contained in:
9
Makefile
9
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user