diff --git a/update/restore.sh b/update/restore.sh index 7f10c20..72d469e 100644 --- a/update/restore.sh +++ b/update/restore.sh @@ -39,7 +39,7 @@ ABORT=9 # - set disl reserve space: tune2fs -m 0 /dev/sda # - /etc/fstab:UUID=c10abddb-35be-4e8e-92cd-96be8a96cb5f /opt/wd ext4 defaults 0 0 # ------------------------------------------------------------------------------------------------------------- -# lack of bluetooth drivers and wireless net card(Intel AX201)drivers -- ibt-0040-1050.sfi +# lack of bluetooth drivers and wireless net card(Intel AX101)drivers -- ibt-0040-1050.sfi # cp ibt-0040-0041.sfi ibt-0040-1050.sfi # cp ibt-0040-0041.ddc ibt-0040-1050.ddc @@ -109,7 +109,7 @@ apt install lrzsz unzip vim gcc g++ make automake curl wget gnupg2 aria2 jq apt- libssl-dev zlib1g-dev libgeoip-dev libncurses-dev libpython3-dev fwupd virtualenv wpasupplicant -y curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs -fwupdmgr get-updates && fwupdmgr update +# fwupdmgr get-updates && fwupdmgr update # ============================================================================================================= # restore files @@ -121,7 +121,7 @@ source /root/.bashrc cp /opt/configs/conf/pip.conf /etc/ cp /opt/configs/conf/sysctl.conf /etc/ && sysctl -p ln -s /opt/configs/tools/docker-compose /usr/bin/docker-compose -ln -s /opt/apps/syncthing/syncthing /usr/bin/syncthing +ln -s /opt/scripts/utool/utool.py /usr/local/bin/utool systemctl set-default multi-user.target timedatectl set-timezone "Asia/Shanghai" echo "Asia/Shanghai" > /etc/timezone @@ -292,7 +292,7 @@ docker network create -d bridge --subnet=10.10.0.0/24 --gateway 10.10.0.1 inner # /app/Models/User.php --> sprintf('https://www.rustle.cc/assets/img/logo.jpg', md5($this->email)) # ============================================================================================================= -# configure cloudreve +# configure cloudreve after mysql docker is up echo -e "\n\e[1;34mRestore cloudreve env...\e[0m\n" cp /opt/apps/cloudreve/cloudreve.service /lib/systemd/system/ systemctl enable cloudreve.service @@ -304,14 +304,14 @@ ln -s /opt/apps/syncthing/syncthing /usr/bin/syncthing cp /opt/apps/syncthing/syncthing@root.service /lib/systemd/system/ systemctl enable syncthing@root.service systemctl start syncthing@root.service -# vim /root/.config/syncthing/config.xml +# edit /root/.config/syncthing/config.xml, and change gui connection address to 0.0.0.0 # ============================================================================================================= # configure samba cp /opt/configs/conf/smb.conf /etc/samba/ smbpasswd -a root systemctl restart smbd.service -# net use * /delete +# On Windows platform, using `net use * /delete` to remove previous connections # ============================================================================================================= # POST INSTALLATION