Compare commits
2 Commits
20200905-3
...
20210414
Author | SHA1 | Date | |
---|---|---|---|
71c639b1ed | |||
0071bc2ce0 |
6
Makefile
6
Makefile
@@ -28,6 +28,8 @@ STAGES = \
|
|||||||
|
|
||||||
RCLOCAL = script/rc.local.start script/rc.shutdown.stop
|
RCLOCAL = script/rc.local.start script/rc.shutdown.stop
|
||||||
|
|
||||||
|
UDEV = $(wildcard sv/udevd/*)
|
||||||
|
|
||||||
AGETTY_CONSOLE = $(wildcard sv/agetty-console/*)
|
AGETTY_CONSOLE = $(wildcard sv/agetty-console/*)
|
||||||
AGETTY_CONSOLE_S = supervise.agetty-console
|
AGETTY_CONSOLE_S = supervise.agetty-console
|
||||||
|
|
||||||
@@ -127,6 +129,9 @@ install-runit:
|
|||||||
install -d $(DESTDIR)$(TMPFILESDIR)
|
install -d $(DESTDIR)$(TMPFILESDIR)
|
||||||
install -m755 $(TMPFILES) $(DESTDIR)$(TMPFILESDIR)/runit.conf
|
install -m755 $(TMPFILES) $(DESTDIR)$(TMPFILESDIR)/runit.conf
|
||||||
|
|
||||||
|
install -d $(DESTDIR)$(SVDIR)/udevd
|
||||||
|
install -Dm755 $(UDEV) $(DESTDIR)$(SVDIR)/udevd
|
||||||
|
|
||||||
install -d $(DESTDIR)$(SVDIR)/agetty-console
|
install -d $(DESTDIR)$(SVDIR)/agetty-console
|
||||||
install -Dm755 $(AGETTY_CONSOLE) $(DESTDIR)$(SVDIR)/agetty-console
|
install -Dm755 $(AGETTY_CONSOLE) $(DESTDIR)$(SVDIR)/agetty-console
|
||||||
$(LN) $(RUNDIR)/$(AGETTY_CONSOLE_S) $(DESTDIR)$(SVDIR)/agetty-console/supervise
|
$(LN) $(RUNDIR)/$(AGETTY_CONSOLE_S) $(DESTDIR)$(SVDIR)/agetty-console/supervise
|
||||||
@@ -177,6 +182,7 @@ install-runit:
|
|||||||
install -Dm755 $(AGETTY_SULOGIN) $(DESTDIR)$(SVDIR)/sulogin
|
install -Dm755 $(AGETTY_SULOGIN) $(DESTDIR)$(SVDIR)/sulogin
|
||||||
$(LN) $(RUNDIR)/$(AGETTY_SULOGIN_S) $(DESTDIR)$(SVDIR)/sulogin/supervise
|
$(LN) $(RUNDIR)/$(AGETTY_SULOGIN_S) $(DESTDIR)$(SVDIR)/sulogin/supervise
|
||||||
|
|
||||||
|
$(LN) $(SVDIR)/udevd $(DESTDIR)$(RUNSVDIR)/default/udevd
|
||||||
for g in $(AGETTY_SYMS); do $(LN) $(SVDIR)/$$g $(DESTDIR)$(RUNSVDIR)/default/$$g; done
|
for g in $(AGETTY_SYMS); do $(LN) $(SVDIR)/$$g $(DESTDIR)$(RUNSVDIR)/default/$$g; done
|
||||||
for g in $(SULOGIN_SYM); do $(LN) $(SVDIR)/$$g $(DESTDIR)$(RUNSVDIR)/single/$$g; done
|
for g in $(SULOGIN_SYM); do $(LN) $(SVDIR)/$$g $(DESTDIR)$(RUNSVDIR)/single/$$g; done
|
||||||
|
|
||||||
|
3
sv/udevd/run
Executable file
3
sv/udevd/run
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
udevadm control --exit
|
||||||
|
exec udevd
|
Reference in New Issue
Block a user