diff options
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/frontend/run | 2 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/lircd/finish | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/frontend/run b/abs/core-testing/runit-scripts/runitscripts/services/frontend/run index 50e0e03..12a787d 100755 --- a/abs/core-testing/runit-scripts/runitscripts/services/frontend/run +++ b/abs/core-testing/runit-scripts/runitscripts/services/frontend/run @@ -1,6 +1,6 @@ #!/bin/sh exec 2>&1 - grep -q nox /proc/cmdline + grep -qi nox /proc/cmdline STATUS=$? if [ $STATUS = 0 ] then diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish index 51c33bb..754bca1 100755 --- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish +++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish @@ -6,8 +6,7 @@ touch /etc/sv/lircd/.runtime/`date +%s` numfiles=`/usr/bin/file_time_offset.py -s4 -d/etc/sv/lircd/.runtime ` if [ $numfiles -gt 3 ] then - rm -f /etc/sv/lircd/.runtime/* - ls -la /etc/sv/lircd/.runtime/* + rm -f /etc/sv/lircd/.runtime/* 2>/dev/null sv stop lircd echo "lircd is not able to start, disabling it" fi |