wok-tiny annotate telnet-config/receipt @ rev 83

Add telnet-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 20 12:32:58 2012 +0200 (2012-07-20)
parents
children dc8eca11e97c
rev   line source
pascal@83 1 # SliTaz package receipt.
pascal@83 2
pascal@83 3 PACKAGE="telnet-config"
pascal@83 4 VERSION="1.0"
pascal@83 5 CATEGORY="configuration"
pascal@83 6 SHORT_DESC="Enable Telnet server"
pascal@83 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@83 8 WEB_SITE="http://tiny.slitaz.org/"
pascal@83 9 DEPENDS="base-tiny"
pascal@83 10
pascal@83 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@83 12 genpkg_rules()
pascal@83 13 {
pascal@83 14 mkdir -p $fs/etc
pascal@83 15 }
pascal@83 16
pascal@83 17 post_install()
pascal@83 18 {
pascal@83 19 grep -q telnetd $1/etc/rcS.conf ||
pascal@83 20 sed -i 's/^RUN_DAEMONS="/&telnetd /' $1/etc/rcS.conf
pascal@83 21 }