init: Creating /var/lock manually

On some system the mkdir fails as its a symlink. It's safer recreating
from scratch. Thats solved an issue under ubutun
upload: Adding time as import

Some configure action needs some sleep commands.