2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-21 17:11:58 +00:00

Fix use of touch when touch is not present

This commit is contained in:
Jarrod Johnson 2020-07-02 16:34:50 -04:00
parent 4ecae144d9
commit c9e1ecb616

View File

@ -5,7 +5,7 @@ TRIES=0
oum=$(umask)
umask 0077
mkdir -p /etc/confluent
touch /etc/confluent/confluent.info
echo -n > /etc/confluent/confluent.info
umask $oum
cd /sys/class/net
while ! grep ^EXTMGRINFO: /etc/confluent/confluent.info | awk -F'|' '{print $3}' | grep 1 >& /dev/null && [ "$TRIES" -lt 60 ]; do