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)
commit21ac3a635163f98e49fad819002838f43b7071cb
treed9ae4715ae0f048afe4f6bd6a501d7e9e00f34e1
parentdc28a01bb9f27c705a83a8aeba4056d41d932ae4
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