Giter Site home page Giter Site logo

SQM script not found! about sqm-scripts HOT 4 CLOSED

simonbcn avatar simonbcn commented on August 27, 2024
SQM script not found!

from sqm-scripts.

Comments (4)

tohojo avatar tohojo commented on August 27, 2024

Simón [email protected] writes:

I've installed these scripts on a Gentoo Linux with systemd but it doesn't work,
systemd doesn't read the /etc/sqm/eth0.iface.conf file:

Did you create the config file? By default, sqm-scripts ships with a
.conf.example file which you need to copy to eth0.iface.conf and edit to
your preferences...

-Toke

from sqm-scripts.

simonbcn avatar simonbcn commented on August 27, 2024
$ ls /etc/sqm/*
/etc/sqm/eth0.iface.conf  /etc/sqm/eth0.iface.conf.example  /etc/sqm/sqm.conf

IMHO, the configurations is too dispersed:

  1. One file is loaded with systemd: EnvironmentFile=/etc/sqm/%i.iface.conf
  2. One setting is in service script and in config file (/etc/sqm/eth0.iface.conf): Environment=... ENABLED=1. Which is the good?
  3. Other settings are loaded in main script.

Would not it be easier to group all in one file and load it directly in the main script?

from sqm-scripts.

tohojo avatar tohojo commented on August 27, 2024

Simón [email protected] writes:

$ ls /etc/sqm/*
/etc/sqm/eth0.iface.conf /etc/sqm/eth0.iface.conf.example /etc/sqm/sqm.conf

Hmm, what is the content of eth0.iface.conf?

IMHO, the configurations is too dispersed:

  1. One file is loaded with systemd: EnvironmentFile=/etc/sqm/%i.iface.conf
  2. One setting is in service script and in config file
    (/etc/sqm/eth0.iface.conf): Environment=... ENABLED=1. Which is the
    good?

The second one could arguably be dropped.

  1. Other settings are loaded in main script.

Would not it be easier to group all in one file and load it directly in the main
script?

This is an artifact of supporting multiple platforms. On OpenWrt, the
config is loaded from the UCI configuration system, so
/etc/sqm/*.iface.conf is not used.

-Toke

from sqm-scripts.

simonbcn avatar simonbcn commented on August 27, 2024

😊 sorry, it was my fault.
I've enabled bad the systemd service.

from sqm-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.