Sha256: 1a1d924db60a1f3642238d38ab2f2f616e25736eb924a9634afc785589f38631
Contents?: true
Size: 646 Bytes
Versions: 2
Compression:
Stored size: 646 Bytes
Contents
# if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # Display a MOTD cat << EOF This is the welcome message of this device it is muliline End of the MOTD EOF function show() { if [ "$*" == "version" ]; then echo "Version 1.2.3" elif [ "$*" == "runningconfiguration all" ]; then cat << EOF ! begin of the configuration ! this is the running config ! I have no idea how a configuration in asternos looks like ;-) ! ! End of the Configuration EOF else echo "command 'show $*' not implemented" fi } PS1="asternos$"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.30.1 | examples/podman-compose/model-simulation/asternos.sh |
oxidized-0.30.0 | examples/podman-compose/model-simulation/asternos.sh |