#!/bin/bash

# Add the message text between the EOF string

cat >/etc/config/motd << 'EOF'
*******************************
Welcome to Opengear Demo Unit 1
******************************* 

EOF

# Set a custom prompt username@hostname instead of the standard # or $ prompt

cat >/etc/config/profile << 'EOF'

export PS1='[\u@\h]\$ '

EOF

chmod +x /etc/config/profile
