wangxiaorou 2021-11-11 09:18:23 +00:00 committed by Gitee
parent 94ee427386
commit 83cc7af486
2 changed files with 5 additions and 1 deletions

View File

@ -78,7 +78,7 @@ do
echo -e "IP address: \t$ip_address"
done
echo -e "Users online: \t$user_num"
if [ "$whoiam"=="root" ]
if [ "$whoiam" == "root" ]
then
echo -e "\n"
else

View File

@ -5,6 +5,7 @@
%define dist_release_version 8
%define generic_version 21.09
%define generic_release 47
%define generic_release 48
%define builtin_release_version 1.0
%define current_arch %{_arch}
@ -135,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
/etc/profile.d/performance.sh
%changelog
* Thu Nov 11 2021 wangxiaorou <wangxiaorou@uniontech.com> - 1.0-48
- fix system-info.sh syntax error
* Sun Sep 26 2021 yangmingtai <yangmingtai@huawei.com> - 1.0-47
- add disable systemd-userdbd.socket in preset