Changes

530 bytes added ,  10:04, 31 March 2023
m
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

Navigation menu