Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e4c7a3e85 | ||
|
|
e02e5de91f | ||
|
|
dbcb38c4d0 |
1 changed files with 2 additions and 3 deletions
|
|
@ -26,9 +26,8 @@ be used without root permissions. See the webpage for few 'screenshots'.
|
|||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
# disable maximum bandwidth setting and change pidfile location
|
||||
sed -i -e "s,/var/run/,/run/vnstat/,g; \
|
||||
s,MaxBandwidth 100,MaxBandwidth 0,g;" \
|
||||
# disable maximum bandwidth setting
|
||||
sed -i -e "s,MaxBandwidth 100,MaxBandwidth 0,g;" \
|
||||
cfg/vnstat.conf
|
||||
|
||||
# no automatic runlevel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue