#!/bin/bash # # Replacement for uname command that changes a single -p or -i option # into a -m option, otherwise passes everything to real uname program # if [ "$#" -eq "1" ] then if [ "$1" = "-p" ] then exec /usr/bin/uname.real -m fi if [ "$1" = "-i" ] then exec /usr/bin/uname.real -m fi fi exec /usr/bin/uname.real "$@"