Skip to content

Commit

Permalink
add rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qwe795138426 committed Jan 30, 2022
1 parent 4308df1 commit d731476
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions install-stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ fi
clear

# 创建用户并设置密码
USE="-pam" emerge -1 sysapps/shadow
echo "Set the root password"
passwd root
USE="-pam" emerge -1 sys-apps/shadow
if [$fyn == "y" -o $fyn == "yes"]
then
emerge zsh
Expand Down Expand Up @@ -147,7 +147,9 @@ perl-cleaner --all
emerge -uvDN --with-bdeps=y @world

# 时区和语言环境
echo "Asia/Shanghai" >> /etc/timezone
echo "Enter your timezone:"
read timezone
echo "${timezone}" >> /etc/timezone
emerge --config sys-libs/timezone-data
cat>/etc/locale.gen<<EOF
C.UTF8 UTF-8
Expand Down Expand Up @@ -194,4 +196,4 @@ then
ln -sf /proc/self/mounts /etc/mtab
systemd-machine-id-setup
emerge networkmanager && systemctl enable NetworkManager
fi
fi

0 comments on commit d731476

Please sign in to comment.