Changeset 65d016f in freewrt for package/bind
- Timestamp:
- Oct 24, 2006, 1:31:21 AM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 93d1359
- Parents:
- d82a87c
- Location:
- package/bind
- Files:
-
- 1 added
- 2 edited
-
Makefile (modified) (1 diff)
-
files/named.init (modified) (1 diff)
-
ipkg/bind-server.postinst (added)
Legend:
- Unmodified
- Added
- Removed
-
package/bind/Makefile
rd82a87c r65d016f 9 9 PKG_NAME:= bind 10 10 PKG_VERSION:= 9.3.1 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 9ff3204eea27184ea0722f37e43fc95d 13 13 PKG_INIT:= 60 -
package/bind/files/named.init
rd82a87c r65d016f 1 1 #!/bin/sh 2 2 3 if [ -f /etc/bind/named.conf ]; then 4 named -c /etc/bind/named.conf 5 fi 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${named:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 if [ -f /etc/bind/named.conf ]; then 12 named -c /etc/bind/named.conf 13 fi 14 ;; 15 stop) 16 killall named 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "usage: $0 {start | stop | restart}" 24 exit 1 25 esac 26 exit $?
Note:
See TracChangeset
for help on using the changeset viewer.
