Skip to content

Commit

Permalink
S40network: Be a little more pedantic
Browse files Browse the repository at this point in the history
This will tell the end user what file this is for (Pluto or M2k), and then add a few more directions.

Signed-off-by: Robin Getz <robin.getz@analog.com>
  • Loading branch information
rgetz authored and commodo committed Jan 9, 2019
1 parent 11e0544 commit 42b3354
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions board/pluto/S40network
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,13 @@ create_system_files () {
fi

### /opt/config.txt ###
echo "# Device Configuration File"$'\r' > $CONF
echo "# Edit, Save and then Eject the USB Drive"$'\r' >> $CONF
echo "# $(cat /sys/firmware/devicetree/base/model | tr / -)"$'\r' > $CONF
echo "# Device Configuration File"$'\r' >> $CONF
echo "# 1. Open with an Editor"$'\r' >> $CONF
echo "# 2. Edit this file"$'\r' >> $CONF
echo "# 3. Save this file on the device USB drive"$'\r' >> $CONF
echo "# 4. Eject the device USB Drive"$'\r' >> $CONF
echo "# Doc: https://wiki.analog.com/university/tools/pluto/users/customizing"$'\r' >> $CONF
echo ""$'\r'>> $CONF
echo "[NETWORK]"$'\r' >> $CONF
echo "hostname = $HOSTNAME"$'\r' >> $CONF
Expand Down

0 comments on commit 42b3354

Please sign in to comment.