Meino:
> just a minute before I wanted to shutdown my Linux box...and...
> shutdown: /run/initctl: No such file or directory
...

$ ls -l /run/initctl
prw------- 1 root root 0 Mar 16 21:50 /run/initctl|

I.e. it is a named pipe, which you can use to tell init things, like
to shutdown.

# man init | grep -A2 SIGUSR
       SIGUSR1
            On receipt of this signals, init closes and re-opens  its  control
            fifo, /dev/initctl. Useful for bootscripts when /dev is remounted.

So, try "kill -SIGUSR1 1" to make init recreate that pipe.

NOTE:
  If you use something else than sysv-init, the above might not apply.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



Reply via email to