[package] fix miredo init scripts and bump release number (#5632)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17197 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
74ab38df6a
commit
0e180e68ae
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=miredo
|
PKG_NAME:=miredo
|
||||||
PKG_VERSION:=1.1.7
|
PKG_VERSION:=1.1.7
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://www.remlab.net/files/miredo/
|
PKG_SOURCE_URL:=http://www.remlab.net/files/miredo/
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
@ -2,17 +2,12 @@
|
|||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
START=50
|
START=50
|
||||||
|
|
||||||
BIN=miredo-server
|
PID_F=/var/run/miredo-server.pid
|
||||||
DEFAULT=/etc/default/$BIN
|
|
||||||
RUN_D=/var/run
|
|
||||||
PID_F=$RUN_D/$BIN.pid
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -f $DEFAULT ] && . $DEFAULT
|
insmod ipv6 2>/dev/null
|
||||||
[ -d $RUN_D ] || mkdir -p $RUN_D
|
insmod tun 2>/dev/null
|
||||||
insmod ipv6
|
miredo-server -c /etc/miredo-server.conf
|
||||||
insmod tun
|
|
||||||
$BIN $OPTIONS
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
@ -2,17 +2,12 @@
|
|||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
START=50
|
START=50
|
||||||
|
|
||||||
BIN=miredo
|
PID_F=/var/run/miredo.pid
|
||||||
DEFAULT=/etc/default/$BIN
|
|
||||||
RUN_D=/var/run
|
|
||||||
PID_F=$RUN_D/$BIN.pid
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -f $DEFAULT ] && . $DEFAULT
|
insmod ipv6 2>/dev/null
|
||||||
[ -d $RUN_D ] || mkdir -p $RUN_D
|
insmod tun 2>/dev/null
|
||||||
insmod ipv6
|
miredo -c /etc/miredo.conf
|
||||||
insmod tun
|
|
||||||
$BIN $OPTIONS
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user