# Created by Tobias Powalowski run_hook () { # fixing some symlinks # fix x86_64 symlink on x86_64 [ "$(uname -r)" = "x86_64" ] && ln -s /usr/bin/setarch /usr/bin/x86_64 # fix vi symlink ln -s /usr/bin/vim /usr/bin/vi # disable motd from login, pam does show motd already touch /root/.hushlogin }