Ignore:
Timestamp:
2011-11-17T11:47:17+01:00 (5 years ago)
Author:
nico
Message:

packages/setserial: rename serial initscript to setserial, use uci config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/setserial/Makefile

    r21861 r29212  
    11# 
    2 # Copyright (C) 2006-2008 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:=setserial 
    1111PKG_VERSION:=2.17 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    4444        $(INSTALL_DIR) $(1)/usr/sbin 
    4545        $(INSTALL_BIN) $(PKG_BUILD_DIR)/setserial $(1)/usr/sbin/ 
     46        $(INSTALL_DIR) $(1)/etc/config 
     47        $(INSTALL_DATA) ./files/setserial.config $(1)/etc/config/setserial 
    4648        $(INSTALL_DIR) $(1)/etc/init.d 
    47         $(INSTALL_BIN) ./files/serial.init $(1)/etc/init.d/setserial 
     49        $(INSTALL_BIN) ./files/setserial.init $(1)/etc/init.d/setserial 
     50endef 
     51 
     52define Package/setserial/conffiles 
     53/etc/config/setserial 
    4854endef 
    4955 
Note: See TracChangeset for help on using the changeset viewer.