diff --git a/install.sh b/install.sh index f68ee25..b8bbab5 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