2 DESCRIPTION = "This package provides the necessary \
3 infrastructure for basic TCP/IP based networking."
9 INITSCRIPT_NAME = "networking"
10 INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ."
11 # On MNCI etc, start very late so that our own apps come up faster
12 INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ."
13 # On OpenSlug delay the stop until after network apps have exited
14 # Do not stop in single user - there's no way to sulogin!
15 INITSCRIPT_PARAMS_openslug = "start 40 S 0 6 ."
17 SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \
24 install -d ${D}${sysconfdir}/init.d \
27 ${D}${sysconfdir}/network/if-pre-up.d \
28 ${D}${sysconfdir}/network/if-up.d \
29 ${D}${sysconfdir}/network/if-down.d \
30 ${D}${sysconfdir}/network/if-post-down.d
31 install -m 0644 ${WORKDIR}/options ${D}${sysconfdir}/network/options
32 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking
33 install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts
34 install -m 0644 etc-rpc ${D}${sysconfdir}/rpc
35 install -m 0644 etc-protocols ${D}${sysconfdir}/protocols
36 install -m 0644 etc-services ${D}${sysconfdir}/services
37 install -m 0755 update-inetd ${D}${sbindir}/
38 install -m 0644 update-inetd.8 ${D}${mandir}/man8/
39 install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
42 CONFFILES_${PN} = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces"