From 1e83a1e789b55e829f9cfe0f90ee8b50c07c3e31 Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Thu, 28 Dec 2017 22:57:17 -0500 Subject: fixed systemd unit file and added a daemon reload to the install target. --- skey.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skey.service') 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 -- cgit v1.1