aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vnstat/vnstat.pre-install
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2012-07-08 21:13:52 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2012-07-09 09:18:50 +0200
commit5ccdc422ed45059a3afc57f00e52f6c863500310 (patch)
tree9d778c1e405c521e7e474ad0b4c61f4c59019790 /testing/vnstat/vnstat.pre-install
parente2aeafa21987d1b1f6d4eb1b1edf2f43babfc046 (diff)
downloadaports-5ccdc422ed45059a3afc57f00e52f6c863500310.tar.bz2
aports-5ccdc422ed45059a3afc57f00e52f6c863500310.tar.xz
testing/vnstat: miscellaneous fixes
- fix path to vnstatd in daemon - add daemon configuration file - create vnstat user and group - unify indentation
Diffstat (limited to 'testing/vnstat/vnstat.pre-install')
-rw-r--r--testing/vnstat/vnstat.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/vnstat/vnstat.pre-install b/testing/vnstat/vnstat.pre-install
new file mode 100644
index 0000000000..4cb61f2443
--- /dev/null
+++ b/testing/vnstat/vnstat.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S vnstat 2>/dev/null
+adduser -S -h /var/lib/ -H -s /bin/false -D -G vnstat vnstat 2>/dev/null
+exit 0