Changeset 26717


Ignore:
Timestamp:
2011-04-18T12:23:50+02:00 (7 years ago)
Author:
jow
Message:

[packages] openntpd:

  • don't check directory permissions, we can't make /var 0700 (#9258)
  • fix init script after r26148, use service_kill instead of killall -9 (#9258)
  • bump pkg revision
Location:
packages/net/openntpd
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/openntpd/Makefile

    r26148 r26717  
    11# 
    2 # Copyright (C) 2006 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:=openntpd 
    1111PKG_VERSION:=3.9p1 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/openntpd/files/ntpd.init

    r20317 r26717  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33 
    44START=60 
     
    99 
    1010start() { 
    11         mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd` 
     11        mkdir -p `awk -F: '/^network:/{print $6}' /etc/passwd` 
    1212        mkdir -p /var/db/ 
    1313        /usr/sbin/ntpd -s 
     
    1515 
    1616stop() { 
    17         # -1 seems insufficient to kill one of the two underlying processes. 
    18         killall -9 ntpd 
     17        service_kill ntpd 
    1918} 
Note: See TracChangeset for help on using the changeset viewer.