ipkg: add a default postinst/prerm script
authorJohn Crispin <john@openwrt.org>
Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)
commitd6dbc22bbcde78bbc378ca3f006771a2b074ff2e
tree0491fe2f49e0922ca3bad202ecfd9ee51dc5a1a5
parent285012d8972b1891c78d9d77b8a2f7d4e81ae829
ipkg: add a default postinst/prerm script

the postinst script enables/starts the init.d scripts upon package installation
and installs the users required by the package.

the prerm script stops and disables the init.d scripts.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42470
include/package-ipkg.mk
package/Makefile
package/base-files/files/lib/functions.sh