Changes

580 bytes added ,  14:39, 2 August 2023
no edit summary
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
Line 545: Line 558:  
* https://wiki.openwrt.org/doc/uci?do= - OpenWRT wiki page on the UCI system
 
* https://wiki.openwrt.org/doc/uci?do= - OpenWRT wiki page on the UCI system
 
* https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page
 
* https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page
 +
 +
[[Category:Router control and monitoring]]

Navigation menu