mirror of
https://github.com/pygos/init.git
synced 2024-06-26 13:10:11 +02:00
0ded476534
Add a new service that runs a small helper script that applies a consistent, deterministic naming pattern to all interfaces, based on their mac address. A configuration file with wild card pattern matching can be used for determining names. By default, this is disabled. Also, this script is Linux specific. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
41 lines
1.5 KiB
Makefile
41 lines
1.5 KiB
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
AM_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir)/lib/include
|
|
AM_CFLAGS = $(WARN_CFLAGS)
|
|
|
|
sbin_PROGRAMS =
|
|
noinst_LIBRARIES =
|
|
nobase_sysconf_DATA = netcfg/ifrename
|
|
sysconf_DATA = etc/initd.env
|
|
EXTRA_DIST = README.md LICENSE docs netcfg
|
|
|
|
helperdir = @SCRIPTDIR@
|
|
helper_PROGRAMS =
|
|
helper_SCRIPTS =
|
|
|
|
include lib/Makemodule.am
|
|
include cmd/Makemodule.am
|
|
include initd/Makemodule.am
|
|
include scripts/Makemodule.am
|
|
include services/Makemodule.am
|
|
|
|
install-data-local:
|
|
$(MKDIR_P) $(DESTDIR)$(SVCDIR)
|
|
$(LN_S) $(TEMPLATEDIR)/loopback $(DESTDIR)$(SVCDIR)/loopback
|
|
$(LN_S) $(TEMPLATEDIR)/hostname $(DESTDIR)$(SVCDIR)/hostname
|
|
$(LN_S) $(TEMPLATEDIR)/sysctl $(DESTDIR)$(SVCDIR)/sysctl
|
|
$(LN_S) $(TEMPLATEDIR)/sysinit $(DESTDIR)$(SVCDIR)/sysinit
|
|
$(LN_S) $(TEMPLATEDIR)/procfs $(DESTDIR)$(SVCDIR)/procfs
|
|
$(LN_S) $(TEMPLATEDIR)/sysfs $(DESTDIR)$(SVCDIR)/sysfs
|
|
$(LN_S) $(TEMPLATEDIR)/devfs $(DESTDIR)$(SVCDIR)/devfs
|
|
$(LN_S) $(TEMPLATEDIR)/tmpfs $(DESTDIR)$(SVCDIR)/tmpfs
|
|
$(LN_S) $(TEMPLATEDIR)/vfs $(DESTDIR)$(SVCDIR)/vfs
|
|
$(LN_S) $(TEMPLATEDIR)/shutdown $(DESTDIR)$(SVCDIR)/shutdown
|
|
$(LN_S) $(TEMPLATEDIR)/reboot $(DESTDIR)$(SVCDIR)/reboot
|
|
$(LN_S) $(TEMPLATEDIR)/sync $(DESTDIR)$(SVCDIR)/sync@shutdown
|
|
$(LN_S) $(TEMPLATEDIR)/sigkill $(DESTDIR)$(SVCDIR)/sigkill@shutdown
|
|
$(LN_S) $(TEMPLATEDIR)/sigterm $(DESTDIR)$(SVCDIR)/sigterm@shutdown
|
|
$(LN_S) $(TEMPLATEDIR)/sync $(DESTDIR)$(SVCDIR)/sync@reboot
|
|
$(LN_S) $(TEMPLATEDIR)/sigkill $(DESTDIR)$(SVCDIR)/sigkill@reboot
|
|
$(LN_S) $(TEMPLATEDIR)/sigterm $(DESTDIR)$(SVCDIR)/sigterm@reboot
|