~goorzhel/radm

0d64827d0ab87491ff2166c2b7307a61d998e0dd — Antonio Gurgel 3 months ago ea0d3d8
Make runit variables lowercase

Uppercase variables are constants, and these are not constants.
1 files changed, 5 insertions(+), 5 deletions(-)

M res/runit/run
M res/runit/run => res/runit/run +5 -5
@@ 2,10 2,10 @@

[ -r conf ] && . ./conf

: ${X:=7}
: ${ARGS:="-f $X"}
: ${WAIT_FOR_SYSLOG:="true"}
: ${x:=7}
: ${args:="-f $X"}
: ${wait_for_syslog:="true"}

while [ "$WAIT_FOR_SYSLOG" ] && [ ! -w /dev/log ]; do sleep 1; done
while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done

exec setsid agetty -nl /usr/bin/radm -o "${ARGS}" tty$X
exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x