-function ifup () {
- echo "${VT_BOLD}${VT_GREEN_FG}This is the bash function ifup from .bashrc${VT_RESET}"
- if [[ ! "$@" ]] && [[ -s ${IFUPRC} ]]; then
- # If we have no argument and there is a .ifuprc, use it
- ARGS=$(tail -1 ${IFUPRC})
+alias ifup="echo Try netup"
+alias ifdown="echo Try netdown"
+
+function netup () {
+ if [[ ! "$@" ]] && [[ -s ${NETUP_HISTORY} ]]; then
+ # If we have no argument and there is a .netup_history, use it
+ ARGS=$(cat ${NETUP_HISTORY})