diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-29 16:32:59 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-29 16:32:59 -0500 |
commit | 36b860a271be5885ae2608b9b703f73f0440844f (patch) | |
tree | a99f9eb9fa47bd5a05cf4203fc1cea8d2bf46984 | |
parent | bdd082989e88809a0a049a270fae70d0ea8b6711 (diff) | |
parent | fc6de0f7971082c2a7d1edd69e45fbe4eb2f7414 (diff) |
Merge branch 'reverse' of https://github.com/knolax/skey into reverse
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | skey.service | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -9,5 +9,6 @@ install: depmod cp skey.dtbo /boot/overlays/skey.dtbo cp skey.service /etc/systemd/system/skey.service + systemctl daemon-reload clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean diff --git a/skey.service b/skey.service index 16ded57..3d10b68 100644 --- a/skey.service +++ b/skey.service @@ -2,6 +2,6 @@ Description="Sets up and loads the drivers for the Omnicom Switch Keyboard" Type=oneshot [Service] -ExecStart=gpio -g mode 3 out;gpio -g mode 6 out;gpio -g mode 5 out;gpio -g mode 10 low;gpio -g mode 24 low;gpio -g mode 23 low;gpio -g mode 22 low;gpio -g mode 27 low;gpio -g mode 18 low;gpio -g mode 17 low;gpio -g mode 15 low;gpio -g mode 14 low;gpio -g mode 4 low;modprobe skey +ExecStart=/bin/bash -c "gpio -g mode 3 out;gpio -g mode 6 out;gpio -g mode 5 out;gpio -g mode 10 down;gpio -g mode 24 down;gpio -g mode 23 down;gpio -g mode 22 down;gpio -g mode 27 down;gpio -g mode 18 down;gpio -g mode 17 down;gpio -g mode 15 down;gpio -g mode 14 down;gpio -g mode 4 down;modprobe skey" [Install] WantedBy=multi-user.target graphical.target emergency.target |