summarylogtreecommitdiffstats
path: root/labjack-exodriver.install
blob: c34dc81903a6c25fdadf18b5113132fd0500824d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  getent group labjack >/dev/null || usr/sbin/groupadd -g 237 labjack
  udevadm control --reload-rules 2>/dev/null
  cat << EOF
===> Add users that require access to labjack to the "labjack" group
EOF
}

post_upgrade() {
  post_install $1
}

post_remove() {
  groupdel labjack >/dev/null 2>&1 || true
  udevadm control --reload-rules 2>/dev/null
}

# vim:set ts=2 sw=2 ft=sh et: