diff --git a/cns1.sh b/cns1.sh index 02cbe2f..2826883 100644 --- a/cns1.sh +++ b/cns1.sh @@ -77,7 +77,7 @@ InstallFiles() { mkdir -p "$cns_install_dir" || Error "Create cns install directory failed." cd "$cns_install_dir" || exit 1 $download_tool_cmd cns https://gitcode.net/Dfsaadsa/Python/-/blob/0742cfc8c16676debef788f5cc0f4eb076edad9c/linux_${machine}${softfloat} || Error "cns download failed." - $download_tool_cmd cns.init https://gitcode.net/Dfsaadsa/Python/-/blob/0742cfc8c16676debef788f5cc0f4eb076edad9c/cns.init || Error "cns.init download failed." + $download_tool_cmd cns.init https://gitcode.net/Dfsaadsa/Python/-/blob/0742cfc8c16676debef788f5cc0f4eb076edad9c/cns2.init || Error "cns.init download failed." [ -f '/etc/rc.common' ] && rcCommon='/etc/rc.common' sed -i "s~#!/bin/sh~#!$SHELL $rcCommon~" cns.init sed -i "s~\[cns_start_cmd\]~$cns_start_cmd~g" cns.init