summaryrefslogtreecommitdiff
path: root/community/feedbackd/feedbackd.pre-install
blob: e3364feaef97c5cd2c578053e7d205490caafa53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# Create the feedbackd group if not existing
GROUP=feedbackd

if ! getent group $GROUP >/dev/null; then
	addgroup -S $GROUP 2>/dev/null
fi

# Print note about the additional group
cat << __EOF__
*
* If you are switching between UIs on existing installations,
* make sure that you add your user to the feedbackd group. 
* If the user isn't part of that group, the LED indicator won't be 
* functional.
*
__EOF__

exit 0