sqm-ifup 251 B

1234567891011
  1. #!/bin/sh
  2. [ -n "$IFACE" ] || exit 1
  3. . /etc/sqm/sqm.conf
  4. if [ -f /etc/sqm/${IFACE}.iface.conf ]; then
  5. . /etc/sqm/${IFACE}.iface.conf
  6. [ -f ${SQM_STATE_DIR}/$IFACE.state ] && ( . ${SQM_LIB_DIR}/stop-sqm )
  7. ( . ${SQM_LIB_DIR}/start-sqm )
  8. fi