Skip to content

Commit

Permalink
Merge pull request #1782 from rern/UPDATE
Browse files Browse the repository at this point in the history
Update install.sh
  • Loading branch information
rern authored Sep 21, 2024
2 parents 2299c08 + 6445459 commit f2a2c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ alias=r1

. /srv/http/bash/settings/addons.sh

# 20240920
# 20240921
file=$dirsystem/relays.conf
if ! grep -q timeron $file; then
if [[ -e $file ]] && ! grep -q timeron $file; then
! grep -q timer=0 $file && on=true
sed -i "/^timer=/ i\timeron=$on" $file
fi
Expand Down

0 comments on commit f2a2c9c

Please sign in to comment.