Created
October 7, 2012 13:52
-
-
Save asimzeeshan/3848455 to your computer and use it in GitHub Desktop.
Configure MOTD / Sysinfo on ssh login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Show motd on Ubuntu only because no such utility exists on Debian at the moment | |
# | |
# Tested on Ubuntu 12.04 | |
# Tested on Virtualization type: OpenVZ, KVM, XEN-PV | |
# | |
# By: Asim Zeeshan | |
# http://www.asim.pk/ | |
apt-get clean all | |
apt-get -q -y autoremove | |
apt-get update | |
apt-get -q -y upgrade | |
apt-get -q -y install landscape-common | |
dpkg-reconfigure landscape-common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment