sudo(8) -> su(1)
This commit is contained in:
parent
0931737535
commit
45b3e6770a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2015/06/04 05:44:11 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 2015/07/18 01:29:03 ajacoutot Exp $
|
||||
|
||||
COMMENT-main = network traffic monitor
|
||||
COMMENT-vnstati = image output support for vnstat
|
||||
@ -7,7 +7,7 @@ V = 1.14
|
||||
DISTNAME = vnstat-${V}
|
||||
PKGNAME-main = ${DISTNAME}
|
||||
PKGNAME-vnstati = vnstati-${V}
|
||||
REVISION-main = 1
|
||||
REVISION-main = 2
|
||||
REVISION-vnstati = 1
|
||||
|
||||
CATEGORIES = net sysutils
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README-main,v 1.1 2015/06/03 12:34:10 pea Exp $
|
||||
$OpenBSD: README-main,v 1.2 2015/07/18 01:29:03 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -7,7 +7,7 @@ $OpenBSD: README-main,v 1.1 2015/06/03 12:34:10 pea Exp $
|
||||
1) Launch vnstat --iflist to see all the available interfaces.
|
||||
|
||||
2) For each interface that you want to monitor, launch this command:
|
||||
# sudo -u _vnstat vnstat -i interface -u
|
||||
# su -m _vnstat -c "vnstat -i interface -u"
|
||||
This will create the database for the specified interface.
|
||||
|
||||
3) Edit ${SYSCONFDIR}/vnstat.conf if necessary.
|
||||
|
Loading…
Reference in New Issue
Block a user