summaryrefslogtreecommitdiff
path: root/automated/linux/ethernet/ethernet.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/ethernet/ethernet.sh')
-rwxr-xr-xautomated/linux/ethernet/ethernet.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/ethernet/ethernet.sh b/automated/linux/ethernet/ethernet.sh
index 67f7e28..181fa9c 100755
--- a/automated/linux/ethernet/ethernet.sh
+++ b/automated/linux/ethernet/ethernet.sh
@@ -26,8 +26,7 @@ done
# Test run.
! check_root && error_msg "This script must be run as root"
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
pkgs="net-tools"
install_deps "${pkgs}" "${SKIP_INSTALL}"