Skip to content

Commit

Permalink
Repaired ownership after untar
Browse files Browse the repository at this point in the history
  • Loading branch information
devlaam committed Nov 3, 2016
1 parent c92fde3 commit 189d70c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lorank8v1/init_prop
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mkdir -p Lorank/Loriot
pushd Lorank/Ngrok
wget -nv -N https://github.com/Ideetron/Lorank/raw/master/$TARGETDIR/ngrok_latest.gz
gunzip -c ngrok_latest.gz > /usr/bin/ngrok
chown root:root /usr/bin/ngrok
chmod u+x /usr/bin/ngrok
popd

Expand All @@ -38,6 +39,8 @@ pushd Lorank/Loriot
wget -nv -N https://github.com/Ideetron/Lorank/raw/master/$TARGETDIR/$DTSHORT/loriot_lorank_8_iC880A_SPI_latest.tgz
tar xf loriot_lorank_8_iC880A_SPI_latest.tgz
mv loriot_lorank_8_iC880A_SPI_*[^.tgz] loriot_pkt_fwd
chown root:root loriot_pkt_fwd
chmod a+x loriot_pkt_fwd
popd

# Install certificates for Loriot.
Expand Down

0 comments on commit 189d70c

Please sign in to comment.