From 5d9af4bbf96e4590938b155729f8506b378856ad Mon Sep 17 00:00:00 2001 From: kairee Date: Fri, 25 Dec 2020 12:03:18 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'scripts/install.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/{InstallNET.sh => install.sh} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename scripts/{InstallNET.sh => install.sh} (99%) diff --git a/scripts/InstallNET.sh b/scripts/install.sh similarity index 99% rename from scripts/InstallNET.sh rename to scripts/install.sh index 2c343cc..850c24c 100644 --- a/scripts/InstallNET.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ ## License: GPL ## It can reinstall Debian, Ubuntu, CentOS system with network. -## Default root password: MoeClub.org +## Default root password: sex@2020 ## Blog: https://moeclub.org ## Written By MoeClub.org @@ -135,7 +135,7 @@ while [[ $# -ge 1 ]]; do ;; *) if [[ "$1" != 'error' ]]; then echo -ne "\nInvaild option: '$1'\n\n"; fi - echo -ne " Usage:\n\tbash $(basename $0)\t-d/--debian [\033[33m\033[04mdists-name\033[0m]\n\t\t\t\t-u/--ubuntu [\033[04mdists-name\033[0m]\n\t\t\t\t-c/--centos [\033[33m\033[04mdists-verison\033[0m]\n\t\t\t\t-v/--ver [32/\033[33m\033[04mi386\033[0m|64/amd64]\n\t\t\t\t--ip-addr/--ip-gate/--ip-mask\n\t\t\t\t-apt/-yum/--mirror\n\t\t\t\t-dd/--image\n\t\t\t\t-a/--auto\n\t\t\t\t-m/--manual\n" + echo -ne " Usage:\n\tbash $(basename $0)\t-d/--debian [\033[33m\033[04mdists-name\033[0m]\n\t\t\t\t-u/--ubuntu [\033[04mdists-name\033[0m]\n\t\t\t\t-c/--centos [\033[33m\033[04mdists-verison\033[0m]\n\t\t\t\t-v/--ver [32/\033[33m\033[04mi386\033[0m|64/amd64]\n\t\t\t\t-p/--password\t\t\t\t--ip-addr/--ip-gate/--ip-mask\n\t\t\t\t-apt/-yum/--mirror\n\t\t\t\t-dd/--image\n\t\t\t\t-a/--auto\n\t\t\t\t-m/--manual\n" exit 1; ;; esac @@ -345,7 +345,7 @@ fi [ -n "$ipAddr" ] && [ -n "$ipMask" ] && [ -n "$ipGate" ] && setNet='1'; [[ -n "$tmpWORD" ]] && myPASSWORD="$(openssl passwd -1 "$tmpWORD")"; -[[ -z "$myPASSWORD" ]] && myPASSWORD='$1$4BJZaD0A$y1QykUnJ6mXprENfwpseH0'; +[[ -z "$myPASSWORD" ]] && myPASSWORD='$1$ABuh.zf2$cqd/prSINfpAkwTQnOjP30'; if [[ -n "$interface" ]]; then IFETH="$interface"