ipkg: add a default postinst/prerm script
author blogic
()
committer blogic
()
commit 723238da2249a0f017391da77eb4f779596f2b3c
tree d9ae4715ae0f048afe4f6bd6a501d7e9e00f34e1
parent fc85e558f5f35060eacd44b2b13981aa61bbbdd3
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
comments