bash

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. S

    prevent a jffs script to be run twice in parallel

    Hi! When I power on/reboot my AC86-router, it runs the '/jffs/scripts/wan0-connected' script twice. I can also see the wifi appear, then disappear after a few seconds and come back again after a few more seconds. This causes the commands in the above said script to be run twice and in...
  2. W

    FlexQoS real time stats added to a file for node_exporter

    First of all thank so much for flexqos! I have been using this on a RT-AC68U for a few years now. Currently on flexqos 1.41 I found a github repo and currently going through the files, but am having trouble finding where flexqos.asp get its data for the current rates? The ultimate goal I am...
  3. kallefornia

    Philips Hue: lights off when nobody is home [script]

    This is a relatively simple bash script that turns off all lights when all members of a household have left and turns them back on again when one of them comes back. Basically, it continually checks the list of clients currently connected to the router's WiFi network(s) for pre-defined IP...
  4. S

    same variable name in different bash scripts

    Hi! I have two different bash scripts. They perform independent tasks from each other, but can possibly run at the same time (during boot process). In both sripts there are variables (for instance to count loops). Can it cause confusion if both scripts use a varibale with the same name or does...
  5. wheelq

    unknown syslog copy

    I have noticed very high CPU spikes, so I did a little research. As it turns out, every , the following command is being issued: 2984 admin 1420 D cp /tmp/syslog.log /tmp/syslog.log-1 /jffs I have checked the 1420 and it is: 101 admin 1420 S /bin/sh Yes, I do lots of...
  6. D

    Does Asuswrt-Merlin have bash array support ?

    Does Asuswrt-Merlin have bash array support ? If so, how do you get bash scripts with arrays to work ?
Top