改个小错误

This commit is contained in:
Bretton
2019-11-10 08:29:07 +08:00
committed by 兔姬桑
parent 73e3c89332
commit 7ac3a7b7dc
7 changed files with 3 additions and 19 deletions

View File

@@ -1,11 +0,0 @@
#!/bin/bash
yum install -y wget sqlite-devel gcc
wget https://github.com/vergoh/vnstat/releases/download/v2.1/vnstat-2.1.tar.gz
tar zxvf vnstat-2.1.tar.gz
cd vnstat-2.1
./configure --prefix=/usr --sysconfdir=/etc && make
make install
cp -v examples/init.d/redhat/vnstat /etc/init.d/
chkconfig vnstat on
service vnstat start
vnstat -l