Changeset 29053


Ignore:
Timestamp:
2011-11-13T23:15:34+01:00 (6 years ago)
Author:
nico
Message:

packages/bitlbee: use new service functions

Location:
packages/net/bitlbee
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/bitlbee/Makefile

    r25319 r29053  
    11# 
    2 # Copyright (C) 2006-2009 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:=bitlbee 
    1111PKG_VERSION:=1.0.1 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/bitlbee/files/bitlbee.init

    r10734 r29053  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=50 
    45 
    56start() { 
    6         mkdir -p /var/lib/bitlbee 
    7         bitlbee -D 
     7        mkdir -m 0755 -p /var/lib/bitlbee 
     8        service_start /usr/sbin/bitlbee -D 
    89} 
    910 
    1011stop() { 
    11         killall bitlbee 
     12        service_stop /usr/sbin/bitlbee 
    1213} 
Note: See TracChangeset for help on using the changeset viewer.