Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
PDF Export
More
Search
Changes
← Older edit
Newer edit →
UCI command usage
(view source)
Revision as of 10:04, 31 March 2023
530 bytes added
,
10:04, 31 March 2023
m
→Mobile Data Limit
Line 538:
Line 538:
Commit changes and restart the daemon
Commit changes and restart the daemon
+
# uci commit quota_limit
+
# /etc/init.d/quota_limit restart
+
+
+
Disabling / Deleting configuration
+
-----
+
Let us take the above example and disable the data limit using '''uci'''. For this, we simply need to change the "enabled" value to '0':
+
# uci set quota_limit.mob1s1a1.enabled='0'
+
# uci commit quota_limit
+
# /etc/init.d/quota_limit restart
+
+
If you wish to delete the whole configuration, '''uci delete''' can be used. Let us delete the entire block of configuration of mob1s1a1 interface:
+
# uci delete quota_limit.mob1s1a1
# uci commit quota_limit
# uci commit quota_limit
# /etc/init.d/quota_limit restart
# /etc/init.d/quota_limit restart
Karolis.t
Administrators
226
edits
Navigation menu
COMMUNITY
ABOUT
login
Personal tools
Log in
Create account
EN
EN
LT
DE
IT
ES
FR
RU
PL
PT
BR
JA
TR
NAVIGATION
Recent changes
Random page
What links here
Upload file
Help
Tools
Categories
BAT Uninterruptable Power Supplies
Downloads
FAQ
General Information
IoT Platforms
OTD Outdoor routers
RUT Routers
RUTC Routers
RUTM Routers
RUTX Routers
TAP Access Points
TCR Routers
TRB Gateways
TRM Modems
TSF Switches
TSW Switches
EOL Products