postinst: add user backup to group tape
So that it is possible to access tape and changer devcies.
This commit is contained in:
parent
b5b99a52cd
commit
a57ce270ac
3
debian/postinst
vendored
3
debian/postinst
vendored
@ -6,6 +6,9 @@ set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# need to have user backup in the tapoe group
|
||||
usermod -a -G tape backup
|
||||
|
||||
# modeled after dh_systemd_start output
|
||||
systemctl --system daemon-reload >/dev/null || true
|
||||
if [ -n "$2" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user