return 1
fi
+ if [[ -f "${HOME}/private/interfaces" ]]; then
+ ARGS="-i ${HOME}/private/interfaces ${ARGS}"
+ fi
+
echo "Executing ${VT_GREEN_FG}[sudo ifup ${ARGS}]${VT_RESET}"
sudo ifup ${ARGS}
# Otherwise, use the standard ifdown
ARGS="$@"
fi
+
+ if [[ -f "${HOME}/private/interfaces" ]]; then
+ ARGS="-i ${HOME}/private/interfaces ${ARGS}"
+ fi
+
echo "Executing sudo ${VT_GREEN_FG}[ifdown ${ARGS}]${VT_RESET}"
sudo ifdown ${ARGS}
}