lstein / Net-ISP-Balance

Set of scripts to load-balance your Internet connection across two or more ISPs with auto failover
Artistic License 2.0
209 stars 49 forks source link

Custom commands scripts not found! #31

Open ema07cqc opened 4 years ago

ema07cqc commented 4 years ago

Hello there, im trying to execute some custom scripts when the state of an ISP changes. According to documentation, it says: "...Run custom commands when an ISP goes up or down? You will find a series of directories in $ETC_NETWORK/balance/lsm named "up.d", "down.d" and "long_down.d". "

But i cannot find those folders.

This is the output of the lsm folder:

pi@emp-raspib3:/ $ ls -lsa /etc/network/balance/lsm
total 16
4 drwxr-xr-x 2 root root 4096 Mar 22 02:58 .
4 drwxr-xr-x 7 root root 4096 Mar 22 03:19 ..
4 -r-xr-xr-x 1 root root  842 Mar 22 02:58 balancer_event_script
4 -r-xr-xr-x 1 root root 1386 Mar 22 02:58 default_script
pi@emp-raspib3:/ $

and if I search for those folders:

pi@emp-raspib3:/ $ sudo find / -type d | grep "long_down.d"
pi@emp-raspib3:/ $

Thank you! This is a very usefull tool :D