diff options
Diffstat (limited to 'input-remapper-git.install')
-rw-r--r-- | input-remapper-git.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/input-remapper-git.install b/input-remapper-git.install new file mode 100644 index 000000000000..2f87bafa9cb7 --- /dev/null +++ b/input-remapper-git.install @@ -0,0 +1,12 @@ +post_install() { + systemctl enable key-mapper + systemctl start key-mapper +} + +post_upgrade() { + if [ -d "/run/systemd/system/" ] && systemctl is-active --quiet key-mapper + then + systemctl restart key-mapper + fi +} + |