ipkg: add a default postinst/prerm script
authorJohn Crispin <blogic@openwrt.org>
Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)
commit3caa9395b5c994b945767c8e528a2afdf24df35e
treed9ae4715ae0f048afe4f6bd6a501d7e9e00f34e1
parentca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42470 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/package-ipkg.mk
package/Makefile
package/base-files/files/lib/functions.sh