Skip to content

Commit

Permalink
Add conditional for systemd wakeup script
Browse files Browse the repository at this point in the history
  • Loading branch information
milgner committed Aug 23, 2014
1 parent 59df59c commit 5d17d4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install.sh
Expand Up @@ -6,7 +6,9 @@ install -m 755 -o root k290_fnkeyctl /usr/local/sbin/
if [ -d /etc/udev/rules.d ]; then
install -m 644 -o root 99-k290-config.rules /etc/udev/rules.d/
fi
install -m 755 -o root k290-fnkeyctl.sh /usr/lib/systemd/system-sleep/
if [ -d /usr/lib/systemd/system-sleep/ ]; then
install -m 755 -o root k290-fnkeyctl.sh /usr/lib/systemd/system-sleep/
fi
if [ -d /etc/pm/sleep.d ]; then
install -m 755 -o root 20-k290.sh /etc/pm/sleep.d/
fi
Expand Down

0 comments on commit 5d17d4a

Please sign in to comment.