Changeset 30287


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

[packages_10.03.2] at: merge r27801, r27898, r28909

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

Legend:

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

    r26384 r30287  
    1010PKG_NAME:=at 
    1111PKG_VERSION:=3.1.12 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz 
  • branches/packages_10.03.2/utils/at/files/atd.init

    r26384 r30287  
    11#!/bin/sh /etc/rc.common 
    22# Copyright (C) 2011 OpenWrt.org 
     3 
    34START=50 
    45 
     6SERVICE_USE_PID=1 
     7 
    58start() { 
    6         [ -d /var/spool/cron/atjobs ] || mkdir -p /var/spool/cron/atjobs 
    7         [ -d /var/spool/cron/atspool ] || mkdir -p /var/spool/cron/atspool 
    8         [ -f /var/spool/cron/atspool ] || > /var/spool/cron/atjobs/.SEQ 
    9         chown -R nobody:nogroup /var/spool/cron/atjobs /var/spool/cron/atspool 
    10         atd 
     9        [ -d /var/spool/cron/atjobs ] || { 
     10                mkdir -m 0755 -p /var/spool/cron/atjobs 
     11                touch /var/spool/cron/atjobs/.SEQ 
     12                chown -R nobody:nogroup /var/spool/cron/atjobs 
     13        } 
     14        [ -d /var/spool/cron/atspool ] || { 
     15                mkdir -m 0755 -p /var/spool/cron/atspool 
     16                chown -R nobody:nogroup /var/spool/cron/atspool 
     17        } 
     18        service_start /usr/sbin/atd 
    1119} 
    1220 
    1321stop() { 
    14         killall atd 
     22        service_stop /usr/sbin/atd 
    1523} 
Note: See TracChangeset for help on using the changeset viewer.