Changeset 30291


Ignore:
Timestamp:
2012-02-05T17:43:11+01:00 (6 years ago)
Author:
jow
Message:

[packages_10.03.2] cmdpad: merge r28930, r29199

Location:
branches/packages_10.03.2/utils/cmdpad
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/utils/cmdpad/Makefile

    r16438 r30291  
    11#  
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=cmdpad 
    1111PKG_VERSION:=0.0.3 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
     
    4646        $(INSTALL_DIR) $(1)/etc 
    4747        $(INSTALL_DIR) $(1)/etc/init.d  
    48         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cmdpad $(1)/usr/sbin 
    49         $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/cmdpad.conf $(1)/etc 
     48        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cmdpad $(1)/usr/sbin/ 
     49        $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/cmdpad.conf $(1)/etc/ 
    5050        $(INSTALL_BIN) ./files/cmdpad.init $(1)/etc/init.d/cmdpad 
    5151endef 
    5252 
     53define Package/cmdpad/conffiles 
     54/etc/cmdpad.conf 
     55endef 
     56 
    5357$(eval $(call BuildPackage,cmdpad)) 
  • branches/packages_10.03.2/utils/cmdpad/files/cmdpad.init

    r10135 r30291  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
     3 
    34START=93 
    45 
     6SSD_DAEMONIZE=1 
     7 
    58start() { 
    6     /usr/sbin/cmdpad --quiet > /dev/null & 
     9        service_start /usr/sbin/cmdpad --quiet 
    710} 
    8                                                          
     11 
    912stop() { 
    10     killall cmdpad 
     13        service_stop /usr/sbin/cmdpad 
    1114} 
    12                                                                                          
Note: See TracChangeset for help on using the changeset viewer.