mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Unify installation environment
This commit is contained in:
1 parent
01dad546b7
commit
f0a672b16a
19 files changed
+185
-220
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
if [ $4 ]; then
|
||||
echo bandlimin $4 $1 >> @3PROXY_CONFDIR@/bandlimiters
|
||||
fi
|
||||
if [ $3 ]; then
|
||||
echo countall \"`wc -l @3PROXY_CONFDIR@/counters|awk '{print $1}'`/$1\" D $3 $1 >> @3PROXY_CONFDIR@/counters
|
||||
fi
|
||||
if [ $2 ]; then
|
||||
echo $1:`@CMAKE_INSTALL_FULL_BINDIR@/@CRYPT_PREFIX@crypt $$ $2` >> @3PROXY_CONFDIR@/passwd
|
||||
else
|
||||
echo usage: $0 username password [day_limit] [bandwidth]
|
||||
echo " "day_limit - traffic limit in MB per day
|
||||
echo " "bandwidth - bandwidth in bits per second 1048576 = 1Mbps
|
||||
fi
|
||||
Reference in new issue
Block a user