Changeset 30166


Ignore:
Timestamp:
2012-02-05T04:18:30+01:00 (5 years ago)
Author:
jow
Message:

[packages_10.03.2] osiris: merge r28889

Location:
branches/packages_10.03.2/admin/osiris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/admin/osiris/Makefile

    r23447 r30166  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=osiris 
    1111PKG_VERSION:=4.2.3 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • branches/packages_10.03.2/admin/osiris/files/osirisd.init

    r15247 r30166  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=50 
    45 
    5 BIN=osirisd 
    6 DEFAULT=/etc/default/$BIN 
    7 LIB_D=/var/lib/osiris 
    8 RUN_D=/var/run 
    9 PID_F=$RUN_D/$BIN.pid 
     6SERVICE_USE_PID=1 
    107 
    118start() { 
    12         [ -f $DEFAULT ] && . $DEFAULT 
    13         mkdir -p $LIB_D 
    14         mkdir -p $RUN_D 
    15         $BIN $OPTIONS 
    16 } 
    17 stop() { 
    18         [ -f $PID_F ] && kill $(cat $PID_F) 
     9        mkdir -0755 -p /var/lib/osiris 
     10        service_start /usr/sbin/osirisd 
    1911} 
    2012 
     13stop() { 
     14        service_stop /usr/sbin/osirisd 
     15} 
Note: See TracChangeset for help on using the changeset viewer.