# SliTaz package receipt. PACKED_SIZE="28.0K" UNPACKED_SIZE="84.0K" PACKAGE="manager" VERSION="1.0" CATEGORY="network" SHORT_DESC="Tiny SliTaz Web Manager" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://tiny.slitaz.org/" CONFIG_FILES="/etc/httpd.conf" DEPENDS="base-tiny" CONFIG_FILES="/etc/daemons.conf /etc/rcS.conf" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $stuff/. $fs } post_install() { grep -q inetd $1/etc/rcS.conf || sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf grep -q /httpd $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <> $1/etc/httpd.conf done <> $1/etc/httpd.conf < Admin password ( for http://the-tiny-server/adm/ ) EOT }