a549e1ccdb
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10904 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
381 B
Bash
Executable File
16 lines
381 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
START=50
|
|
|
|
start() {
|
|
[ -d /var/spool/cron/atjobs ] || mkdir -p /var/spool/cron/atjobs
|
|
[ -d /var/spool/cron/atspool ] || mkdir -p /var/spool/cron/atspool
|
|
[ -f /var/spool/cron/atspool ] || > /var/spool/cron/atjobs/.SEQ
|
|
chown -R nobody:nogroup /var/spool/cron/atjobs /var/spool/cron/atspool
|
|
atd
|
|
}
|
|
|
|
stop() {
|
|
killall atd
|
|
}
|