You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
222 B

  1. #!/bin/sh /etc/rc.common
  2. START=19
  3. reload() {
  4. /usr/sbin/mwan3 restart
  5. }
  6. boot() {
  7. . /lib/config/uci.sh
  8. uci_toggle_state mwan3 globals enabled "1"
  9. }
  10. start() {
  11. /usr/sbin/mwan3 start
  12. }
  13. stop() {
  14. /usr/sbin/mwan3 stop
  15. }