]> git.stg.codes - stg.git/blobdiff - projects/stargazer/scripts/shaper/OnConnect
MySQL custom port implemented
[stg.git] / projects / stargazer / scripts / shaper / OnConnect
index 67bf32bf248f3fe4ecf479e7d1a000f470e5ea06..e5991637f52a3ea3f5bfa767d2ffb417363781a3 100755 (executable)
@@ -28,13 +28,13 @@ default_speed=32kbit
 #    maximum)  speedkb=512kbit;;        # 512 kbit
 #    *)        speedkb=$default_speed;;  # default speed
 #esac
-# ========= shaping by tariff end ========= 
+# ========= shaping by tariff end =========
 
 # ========= shaping by userdata0 ==========
 speedR=$(grep -i "^Userdata0=" /var/stargazer/users/$LOGIN/conf | cut -f 2 -d"=")
 speed=$(echo $speedR | grep "^[0-9]*[0-9]$")
 
-if [ -z "$speed" ] 
+if [ -z "$speed" ]
 then
     speedkb=$default_speed
 else