This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the following code in usermods/esp32_multistrip/NpbWrapper.h after: | |
#ifndef RLYPIN | |
#define RLYPIN -1 //pin for relay, will be set HIGH if LEDs are on (-1 to disable). Also usable for standby leds, triggers,... | |
#endif | |
#ifndef RLYPIN2 | |
#define RLYPIN2 -1 //pin for relay2, will be set HIGH if LEDs are on (-1 to disable). Also usable for standby leds, triggers,... | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to set 'browseable=no' for specific Samba shares ending with -1 | |
# Author: Roel Broersma | |
# Description: This script modifies the smb.share.conf file to set 'browseable=no' | |
# for all shares ending with -1, provided the 'browseable' option | |
# is already defined within the section. It then checks the Samba | |
# configuration for syntax errors and reloads the configuration. | |
# Version: 1.0 | |
# Date: 27 March 2024 |