projects
/
hdw-linux
/
hdw-linux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added mozplugger package
[hdw-linux/hdw-linux.git]
/
packages
/
optional
/
nut
/
nut.setup
1
setup_block() {
2
groupadd -g 1075 ups || true
3
useradd -u 1075 -c 'ups monitoring tools' -g ups ups || true
4
mkdir -p /var/state/cups
5
chown ups.ups /var/state/cups
6
}
7
8
uninstall_block() {
9
userdel ups || true
10
groupdel ups || true
11
rm -rf /var/state/cups
12
}