Changeset 29075


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

packages/samba3: use new service functions

Location:
packages/net/samba3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/samba3/Makefile

    r28302 r29075  
    99PKG_NAME:=samba3 
    1010PKG_VERSION:=3.0.24 
    11 PKG_RELEASE:=8 
     11PKG_RELEASE:=9 
     12 
    1213PKG_MD5SUM:=89273f67a6d8067cbbecefaa13747153 
    1314 
     
    7576        $(INSTALL_DATA) ./files/smb.conf.template $(1)/etc/samba/ 
    7677        touch $(1)/etc/samba/smbpasswd 
    77         $(INSTALL_DIR) $(1)/bin 
    78         $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbpasswd $(1)/bin/ 
    79         $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbd $(1)/bin/ 
    80         $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/nmbd $(1)/bin/ 
     78        $(INSTALL_DIR) $(1)/usr/sbin 
     79        $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbpasswd $(1)/usr/sbin/ 
     80        $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbd $(1)/usr/sbin/ 
     81        $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/nmbd $(1)/usr/sbin/ 
    8182endef 
    8283 
  • packages/net/samba3/files/samba.init

    r28302 r29075  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2008-2010 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
    33 
    44START=60 
     
    6060        config_foreach smb_header samba 
    6161        config_foreach smb_add_share sambashare 
    62         smbd -D 
    63         nmbd -D 
     62        service_start /usr/sbin/smbd -D 
     63        service_start /usr/sbin/nmbd -D 
    6464} 
    6565 
    6666stop() { 
    67         killall smbd 
    68         killall nmbd 
     67        service_stop /usr/sbin/smbd 
     68        service_stop /usr/sbin/nmbd 
    6969} 
Note: See TracChangeset for help on using the changeset viewer.