diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2011-08-20 17:15:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-24 15:02:23 -0700 |
commit | 45a0c381673ccf7331c64e914a72bf88618c8dfa (patch) | |
tree | c5bdeb73e7432a41cc0cda70a66850d8266ce57a /meta/recipes-extended/cronie/cronie | |
parent | 9a623a6481eb6c5bf0f14a9e291d7cfac4ac1116 (diff) | |
download | poky-45a0c381673ccf7331c64e914a72bf88618c8dfa.tar.gz |
cronie: Updates to cronie
1) Add required pam plugins to RDEPENDS list;
2) Correct configure option that used for enable pam support;
3) Create empty crond config file cron.deny;
4) Don't set readonly variable UID in crond init script.
(From OE-Core rev: 0fa1989b03cf70c7f27629c8340963fcef862097)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cronie/cronie')
-rwxr-xr-x | meta/recipes-extended/cronie/cronie/crond.init | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-extended/cronie/cronie/crond.init b/meta/recipes-extended/cronie/cronie/crond.init index 050c37e453..08f34beed9 100755 --- a/meta/recipes-extended/cronie/cronie/crond.init +++ b/meta/recipes-extended/cronie/cronie/crond.init | |||
@@ -21,8 +21,6 @@ CONFIG=/etc/sysconfig/crond | |||
21 | # Source function library. | 21 | # Source function library. |
22 | . /etc/init.d/functions | 22 | . /etc/init.d/functions |
23 | 23 | ||
24 | UID=`id -u` | ||
25 | |||
26 | case "$1" in | 24 | case "$1" in |
27 | start) | 25 | start) |
28 | if [ $UID -ne 0 ] ; then | 26 | if [ $UID -ne 0 ] ; then |