Skip to content

Commit b6ef47f

Browse files
authored
Update start_service.sh
1 parent f34d948 commit b6ef47f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-armbian/armbian-files/common-files/etc/custom_service/start_service.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ openvfd_boxid="15"
9595
}
9696

9797
# Add custom log
98+
[[ -x "/usr/bin/fanoes.sh" ]] && {
99+
/usr/bin/fanoes.sh >/dev/null 2>&1 &
100+
echo "[$(date +"%Y.%m.%d.%H:%M:%S")] The temperature-based fan control service (fanoes) started successfully." >>${custom_log}
101+
}
98102
echo "[$(date +"%Y.%m.%d.%H:%M:%S")] All custom services executed successfully!" >>${custom_log}

0 commit comments

Comments
 (0)