sqm-init 321 B

12345678910111213141516171819202122232425262728293031
  1. #!/bin/sh /etc/rc.common
  2. START=50
  3. USE_PROCD=1
  4. service_triggers()
  5. {
  6. procd_add_reload_trigger "sqm"
  7. }
  8. reload_service()
  9. {
  10. stop "$@"
  11. start "$@"
  12. }
  13. start_service()
  14. {
  15. /usr/lib/sqm/run.sh start "$@"
  16. }
  17. stop_service()
  18. {
  19. /usr/lib/sqm/run.sh stop "$@"
  20. }
  21. boot()
  22. {
  23. export SQM_VERBOSITY_MIN=5 # Silence errors
  24. start "$@"
  25. }