ipkg: add a default postinst/prerm script
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)
commit723238da2249a0f017391da77eb4f779596f2b3c
treed9ae4715ae0f048afe4f6bd6a501d7e9e00f34e1
parentfc85e558f5f35060eacd44b2b13981aa61bbbdd3
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