Hotplug.d button push script do not work correct

Hi!

trying to use Reset button for some timeout function.
kmod-gpio-button

/etc/hotplug.d/button/button

#!/bin/sh
logger $BUTTON  $ACTION $SEEN
[ released = "$ACTION" ] && {
	[ "$SEEN" -gt 3 ] && [ "$SEEN" -le 5 ] && {
		logger 3-5
		}

	[ "$SEEN" -gt 1 ] && [ "$SEEN" -le 3 ] && {
		logger 1-3
		}
	
	[ "$SEEN" -le 1 ] && {
		cp /etc/config/network_default /etc/config/network
		/etc/init.d/network restart
		logger 1!
		}
}
logger end

press and release reset button and see in log file:

Thu Sep 20 07:53:55 2018 user.notice root: reset pressed 4
Thu Sep 20 07:53:55 2018 user.notice root: 3-5
Thu Sep 20 07:53:55 2018 user.notice root: 1-3
Thu Sep 20 07:53:56 2018 user.notice root: 1!
Thu Sep 20 07:53:56 2018 user.notice root: end

please tell me whats wrong with my script?
Why do not works commands CP and /etc/init.d/network restart? Why all conditions are true?

How do you conclude that the commands do not work?

I have connected RS232-terminal windows all time while i press and release button.
Work only " logger ..." all other commands - dont works.

file /etc/hotplug.d/button/button have 755

So you compared /etc/config/network_default and /etc/config/network after pressing the button and they were not identical?

i'm tried use other commands
reboot -f
but nothing happen.

and look on second question^
why all IF conditions are true?