mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update debian.sh
This commit is contained in:
@@ -16,6 +16,12 @@ if grep -Eq "Debian" /etc/*-release; then
|
||||
ln -sf /bin/bash /bin/sh
|
||||
fi
|
||||
|
||||
__GET_BIT=`getconf LONG_BIT`
|
||||
if [ "$__GET_BIT" == "32" ];then
|
||||
# install rust | 32bit need
|
||||
curl https://sh.rustup.rs -sSf | sh
|
||||
fi
|
||||
|
||||
# synchronize time first
|
||||
apt-get install ntpdate -y
|
||||
ntpdate time.nist.gov | logger -t NTP
|
||||
|
||||
Reference in New Issue
Block a user