wok diff netatalk-pam/stuff/etc/init.d/netatalk @ rev 25495
Up expat (2.5.0), CVE-2022-43680
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 02 10:14:28 2022 +0000 (23 months ago) |
parents | ff5fd8788cd9 |
children |
line diff
1.1 --- a/netatalk-pam/stuff/etc/init.d/netatalk Fri May 27 01:40:23 2016 +0300 1.2 +++ b/netatalk-pam/stuff/etc/init.d/netatalk Fri Dec 02 10:14:28 2022 +0000 1.3 @@ -22,7 +22,7 @@ 1.4 # Start Netatalk servers. 1.5 atalk_startup() 1.6 { 1.7 - if [ "$ATALKD_RUN" == "yes" ]; then 1.8 + if [ "$ATALKD_RUN" = "yes" ]; then 1.9 modprobe appletalk 1.10 atalkd 1.11 pidof atalkd > $PIDFILE 1.12 @@ -31,11 +31,11 @@ 1.13 nbprgstr -p 4 "$ATALK_NAME:Workstation$ATALK_ZONE" 1.14 nbprgstr -p 4 "$ATALK_NAME:netatalk$ATALK_ZONE" 1.15 1.16 - [ "$PAPD_RUN" == "yes" ] && papd 1.17 - [ "$TIMELORD_RUN" == "yes" ] && timelord 1.18 + [ "$PAPD_RUN" = "yes" ] && papd 1.19 + [ "$TIMELORD_RUN" = "yes" ] && timelord 1.20 fi 1.21 1.22 - [ "$AFPD_RUN" == "yes" ] && afpd $AFPD_UAMLIST -g $AFPD_GUEST \ 1.23 + [ "$AFPD_RUN" = "yes" ] && afpd $AFPD_UAMLIST -g $AFPD_GUEST \ 1.24 -c $AFPD_MAX_CLIENTS -n "$ATALK_NAME$ATALK_ZONE" 1.25 } 1.26 1.27 @@ -46,7 +46,7 @@ 1.28 exit 1 1.29 fi 1.30 action 'Starting %s: %s...' "$DESC" $NAME 1.31 - if [ "$ATALK_BGROUND" == "yes" ]; then 1.32 + if [ "$ATALK_BGROUND" = "yes" ]; then 1.33 atalk_startup >/dev/null & 1.34 else 1.35 atalk_startup