From ed99f7ba3989af286705bbe69517af836d1358a3 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 4 Nov 2006 12:47:45 +0000 Subject: Test if symbolic is already there (#886) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5442 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/etc/init.d/cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/default/etc') diff --git a/package/base-files/default/etc/init.d/cron b/package/base-files/default/etc/init.d/cron index a450c36dd..e78d02332 100755 --- a/package/base-files/default/etc/init.d/cron +++ b/package/base-files/default/etc/init.d/cron @@ -3,7 +3,7 @@ start () { mkdir -p /var/spool/cron - 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 } -- cgit v1.2.3