slitaz-boot-scripts diff etc/init.d/rcS @ rev 454

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:21:44 2019 +0100 (2019-02-26)
parents d6f110850f61
children 876a72d3d977
line diff
     1.1 --- a/etc/init.d/rcS	Tue Feb 05 08:08:51 2019 +0100
     1.2 +++ b/etc/init.d/rcS	Tue Feb 26 08:21:44 2019 +0100
     1.3 @@ -23,7 +23,7 @@
     1.4  		status
     1.5  
     1.6  		# Trigger udev and handle hotplug events
     1.7 -		if [ "$UDEV" == 'yes' ]; then
     1.8 +		if [ "$UDEV" = 'yes' ]; then
     1.9  			action 'Mounting devtmpfs filesystem on /dev'
    1.10  			mount -t devtmpfs devtmpfs /dev
    1.11  			status
    1.12 @@ -90,7 +90,7 @@
    1.13  
    1.14  		# Clean up the system and set up tmp dirs.
    1.15  		# */run/* are tmpfs so they are cleaned up at shutdown.
    1.16 -		if [ "$CLEAN_UP_SYSTEM" == 'yes' ]; then
    1.17 +		if [ "$CLEAN_UP_SYSTEM" = 'yes' ]; then
    1.18  			action 'Cleaning up the system...'
    1.19  			rm -rf /tmp
    1.20  			mkdir -p /tmp/.X11-unix /tmp/.ICE-unix
    1.21 @@ -165,7 +165,7 @@
    1.22  
    1.23  		# Call udevadm trigger to ensure /dev is fully populated now that all
    1.24  		# modules are loaded.
    1.25 -		if [ "$UDEV" == 'yes' ]; then
    1.26 +		if [ "$UDEV" = 'yes' ]; then
    1.27  			action 'Triggering udev events: --action=add'
    1.28  			udevadm trigger --action=add
    1.29  			status