mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-28 05:21:06 +02:00
[package] fix incorrect quoting in busybox cron init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14540 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cfe3d05d43
commit
c079c203b1
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=busybox
|
PKG_NAME:=busybox
|
||||||
PKG_VERSION:=1.11.3
|
PKG_VERSION:=1.11.3
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.busybox.net/downloads \
|
PKG_SOURCE_URL:=http://www.busybox.net/downloads \
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
START=50
|
START=50
|
||||||
|
|
||||||
start () {
|
start () {
|
||||||
[ -z $(ls /etc/crontabs/) ] && exit 1
|
[ -z "$(ls /etc/crontabs/)" ] && exit 1
|
||||||
mkdir -p /var/spool/cron
|
mkdir -p /var/spool/cron
|
||||||
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
|
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
|
||||||
crond -c /etc/crontabs
|
crond -c /etc/crontabs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user