diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/busybox/files | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'package/busybox/files')
-rw-r--r-- | package/busybox/files/busybox.postinst | 6 | ||||
-rw-r--r-- | package/busybox/files/crond.init | 3 | ||||
-rw-r--r-- | package/busybox/files/inetd.init | 3 | ||||
-rw-r--r-- | package/busybox/files/network.init | 3 | ||||
-rw-r--r-- | package/busybox/files/syslog.init | 3 |
5 files changed, 14 insertions, 4 deletions
diff --git a/package/busybox/files/busybox.postinst b/package/busybox/files/busybox.postinst new file mode 100644 index 000000000..97e83b766 --- /dev/null +++ b/package/busybox/files/busybox.postinst @@ -0,0 +1,6 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf network network YES +add_rcconf crond crond NO +add_rcconf 'use "-C16" normally, "NO" to disable' syslogd_flags '-C16' +add_rcconf inetd diff --git a/package/busybox/files/crond.init b/package/busybox/files/crond.init index c0b9da9e4..208479c6d 100644 --- a/package/busybox/files/crond.init +++ b/package/busybox/files/crond.init @@ -1,5 +1,6 @@ #!/bin/sh -#FWINIT 60 +#PKG busybox +#INIT 60 . /etc/rc.conf case $1 in diff --git a/package/busybox/files/inetd.init b/package/busybox/files/inetd.init index ad0527e6a..ff041aed4 100644 --- a/package/busybox/files/inetd.init +++ b/package/busybox/files/inetd.init @@ -1,5 +1,6 @@ #!/bin/sh -#FWINIT 41 +#PKG busybox +#INIT 41 . /etc/rc.conf case $1 in autostart) diff --git a/package/busybox/files/network.init b/package/busybox/files/network.init index 0f3d4edad..ee70efcbf 100644 --- a/package/busybox/files/network.init +++ b/package/busybox/files/network.init @@ -1,5 +1,6 @@ #!/bin/sh -#FWINIT 40 +#PKG busybox +#INIT 40 . /etc/rc.conf case $1 in autostart) diff --git a/package/busybox/files/syslog.init b/package/busybox/files/syslog.init index e06283480..9552dfe0a 100644 --- a/package/busybox/files/syslog.init +++ b/package/busybox/files/syslog.init @@ -1,5 +1,6 @@ #!/bin/sh -#FWINIT 05 +#PKG busybox +#INIT 05 . /etc/rc.conf case $1 in |