Merge bk://openembedded@openembedded.bkbits.net/packages
[vuplus_openembedded] / nylon / nylon-scripts_cvs.oe
1 DESCRIPTION = "This package provides the mtx specific init and configuration scripts."
2 DEPENDS = "hostap-utils"
3 SECTION = "base"
4 PRIORITY = "optional"
5 MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
6 LICENSE = "GPL"
7 PR = "r1"
8
9 SRC_URI = "svn://meshcube.org/svn/scripts;module=${PN}"
10 S = "${WORKDIR}/${PN}"
11
12 do_install() {
13         (cd ${S}; tar -c --exclude .svn -f - . ) | tar -C ${D} -xpf -
14 }
15
16 pkg_postinst() {
17 #!/bin/sh
18 update-rc.d hostap defaults 15
19 update-rc.d ipaliases defaults 16
20 update-rc.d firewall defaults 20
21 update-rc.d routing defaults 20
22 update-rc.d dummydate start 50 S . stop 50 0 6 .
23 update-rc.d emergency-ip defaults 99
24 }
25
26 pkg_postrm() {
27 #!/bin/sh -e
28 update-rc.d ipaliases remove
29 update-rc.d firewall remove
30 update-rc.d hostap remove
31 update-rc.d routing remove
32 update-rc.d dummydate remove
33 update-rc.d emergency-ip remove
34 }