@@ -22,6 +22,11 @@ DEFAULT_BONDING_MODE='balance-tlb'
modprobe bonding
+if lockfile-check /run/ipw; then
+ eerror 'Another "ipw" instance is already running'
+ exit -1
+fi
+
trap 'lockfile-remove /run/ipw' SIGINT SIGTERM SIGHUP SIGQUIT SIGALRM SIGILL SIGABRT SIGPIPE EXIT
lockfile-create /run/ipw || exit