init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-10-15 21:03:30 +00:00
parent d42adbf1a5
commit 7608ba449f
84 changed files with 464 additions and 474 deletions

View File

@ -29,7 +29,7 @@ define Package/updatedd
TITLE:=A tool to update dynamic dns services
DESCRIPTION:=Updatedd is a small tool that will update one of many dynamic\\\
dns services on boot.\\\
Please look at the /etc/init.d/S55ddns script for more info.\\\
Please look at the /etc/init.d/ddns script for more info.\\\
URL:=http://www.philipp-benner.de/updatedd/
endef
@ -112,7 +112,7 @@ endef
define Package/updatedd/install
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/S55ddns $(1)/etc/init.d/
install -m0755 ./files/ddns.init $(1)/etc/init.d/ddns
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/updatedd $(1)/usr/bin/
install -d -m0755 $(1)/usr/lib/updatedd