summarylogtreecommitdiffstats
path: root/whatpulse.install
diff options
context:
space:
mode:
Diffstat (limited to 'whatpulse.install')
-rw-r--r--whatpulse.install34
1 files changed, 0 insertions, 34 deletions
diff --git a/whatpulse.install b/whatpulse.install
deleted file mode 100644
index 1620255d6ef1..000000000000
--- a/whatpulse.install
+++ /dev/null
@@ -1,34 +0,0 @@
-post_install() {
- # Create the 'input' group
- if [ -n "`cat /etc/group | grep -e ^input:`" ] ; then
- echo "Group 'input' already exists!"
- else
- groupadd input
- echo "Created group 'input'."
- fi
- # Manage permissions for the binary
- setcap cap_net_raw,cap_net_admin=eip /usr/bin/whatpulse
-
- # Display some information about how to set-up permissions
- cat <<__EOF__
-==> Now add your user to the 'input' group:
-==> # gpasswd -a USERNAME input
-==>
-==> Now reboot to fix the input permissions, or execute this:
-==> # find /dev/input/ -iname "event*" -exec chmod 644 {} \;
-==>
-==> This temporarily grants everybody read permissions on
-==> all input devices, something you should obviously avoid if
-==> you fear somebody will eavesdrop those input devices.
-__EOF__
-}
-
-post_upgrade() {
- # Manage permissions for the binary
- setcap cap_net_raw,cap_net_admin=eip /usr/bin/whatpulse
-}
-
-pre_remove() {
- # Warn the user about the 'input' group
- echo "The \"input\" group still exists, remove it if you don't use it anymore."
-}