From f00acd374410f337b5a1c1b8fbcd3d3a2d1e1e3d Mon Sep 17 00:00:00 2001 From: Grigoriy Shlyapkin Date: Wed, 27 Jan 2016 23:41:45 +0500 Subject: [PATCH 1/2] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f68ee25..226f688 100755 --- a/install.sh +++ b/install.sh @@ -12,4 +12,6 @@ fi if [ -d /etc/pm/sleep.d ]; then install -m 755 -o root 20-k290.sh /etc/pm/sleep.d/ fi - +if [-d /lib/systemd/system-sleep/ ]; then + install -m 755 -o root k290-fnkeyctl.sh /lib/systemd/system-sleep/ +fi From 65c0ae75c8acfde8357ef11a4ee434785254f041 Mon Sep 17 00:00:00 2001 From: Grigoriy Shlyapikn Date: Tue, 20 Sep 2016 23:25:50 +0700 Subject: [PATCH 2/2] Update install.sh Fix missing space. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 226f688..b8bbab5 100755 --- a/install.sh +++ b/install.sh @@ -12,6 +12,6 @@ fi if [ -d /etc/pm/sleep.d ]; then install -m 755 -o root 20-k290.sh /etc/pm/sleep.d/ fi -if [-d /lib/systemd/system-sleep/ ]; then +if [ -d /lib/systemd/system-sleep/ ]; then install -m 755 -o root k290-fnkeyctl.sh /lib/systemd/system-sleep/ fi