# Blocking Entry to Sync state until certain network interface is active

**URL:** <https://hub.mender.io/t/blocking-entry-to-sync-state-until-certain-network-interface-is-active/2958>\
**Category:** General Discussions\
**Created:** [December 9, 2020, 12:42am UTC](https://hub.mender.io/t/blocking-entry-to-sync-state-until-certain-network-interface-is-active/2958 "2020-12-09T00:42:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![martind](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@martind](https://hub.mender.io/u/martind)\
**Post date:** [December 9, 2020, 6:58pm UTC](https://hub.mender.io/t/blocking-entry-to-sync-state-until-certain-network-interface-is-active/2958/4 "2020-12-09T18:58:40Z")

</div>

I found I made a mistake in naming my script. It should be Idle\_ **Leave** NOT Idle\_ **Exit**

Also I encountered the same issue as [`version` of state-scripts in /etc/mender](https://hub.mender.io/t/version-of-state-scripts-in-etc-mender/894) when I tried to run my scripts. If the version file does not exist in your /etc/mender/scripts directory you have to create one and write **3** into the file. I used mender-convert to make my image and this file was not present. I found **version** file in /data/mender/scripts but it was empty.

---

_[View the full topic](https://hub.mender.io/t/blocking-entry-to-sync-state-until-certain-network-interface-is-active/2958)._
