tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: /etc/rc.d/local starts not last
On Sat, Apr 13, 2019 at 11:15:49AM +0200, tlaronde%polynum.com@localhost wrote:
> So my guess is that Vnc reinject keyboard and mouse events and so need
> wsmoused to run (and it is after).
rc.local is not run last, see rc(8):
rc.local is a command script to which local boot-time actions can be
added. It is (nearly) the last thing invoked by rc during a normal boot.
Actually it is:
# REQUIRE: DAEMON
# PROVIDE: local
# BEFORE: LOGIN
so it is run after all deamons are stareted and before enabling logins, but
no other guarantees.
Instead you should add a /etc/rc.d/vnc script (maybe pkgsrc has one already)
that does REQUIRE wsmoused
Martin
Home |
Main Index |
Thread Index |
Old Index