File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ SUCCESS() {
138
138
# cd $INSTALL_PATH
139
139
# get_password=$(./alist password 2>&1)
140
140
# echo -e "初始管理密码:${GREEN_COLOR}$(echo $get_password | awk -F'your password: ' '{print $2}')${RES}"
141
- echo -e " ---------如何找回密码 ?--------"
141
+ echo -e " ---------如何获取密码 ?--------"
142
142
echo -e " 先cd到alist所在目录:"
143
143
echo -e " ${GREEN_COLOR} cd $INSTALL_PATH ${RES} "
144
144
echo -e " 随机设置新密码:"
145
145
echo -e " ${GREEN_COLOR} ./alist admin random${RES} "
146
146
echo -e " 或者手动设置新密码:"
147
147
echo -e " ${GREEN_COLOR} ./alist admin set ${RES}${RED_COLOR} NEW_PASSWORD${RES} "
148
- echo -e " --------------------------"
148
+ echo -e " ---------------------------- "
149
149
150
150
echo -e " 启动服务中"
151
151
systemctl restart alist
@@ -200,10 +200,14 @@ UPDATE() {
200
200
systemctl start alist
201
201
exit 1
202
202
fi
203
- echo -e " ---------管理员信息--------"
204
- cd $INSTALL_PATH
205
- ./alist admin
206
- echo -e " --------------------------"
203
+ echo -e " ---------如何获取密码?--------"
204
+ echo -e " 先cd到alist所在目录:"
205
+ echo -e " ${GREEN_COLOR} cd $INSTALL_PATH ${RES} "
206
+ echo -e " 随机设置新密码:"
207
+ echo -e " ${GREEN_COLOR} ./alist admin random${RES} "
208
+ echo -e " 或者手动设置新密码:"
209
+ echo -e " ${GREEN_COLOR} ./alist admin set ${RES}${RED_COLOR} NEW_PASSWORD${RES} "
210
+ echo -e " ----------------------------"
207
211
echo -e " \r\n${GREEN_COLOR} 启动 Alist 进程${RES} "
208
212
systemctl start alist
209
213
echo -e " \r\n${GREEN_COLOR} Alist 已更新到最新稳定版!${RES} \r\n"
You can’t perform that action at this time.
0 commit comments