diff options
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-extended/cronie/cronie/crond.init | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-extended/cronie/cronie/crond.init b/meta/recipes-extended/cronie/cronie/crond.init index 08f34beed9..c8dffef89a 100755 --- a/meta/recipes-extended/cronie/cronie/crond.init +++ b/meta/recipes-extended/cronie/cronie/crond.init | |||
@@ -23,10 +23,6 @@ CONFIG=/etc/sysconfig/crond | |||
23 | 23 | ||
24 | case "$1" in | 24 | case "$1" in |
25 | start) | 25 | start) |
26 | if [ $UID -ne 0 ] ; then | ||
27 | echo "User has insufficient privilege." | ||
28 | exit 1 | ||
29 | fi | ||
30 | echo -n "Starting crond: " | 26 | echo -n "Starting crond: " |
31 | start-stop-daemon --start --quiet --exec $CROND -- $CRONDARGS | 27 | start-stop-daemon --start --quiet --exec $CROND -- $CRONDARGS |
32 | RETVAL=$? | 28 | RETVAL=$? |
@@ -37,10 +33,6 @@ case "$1" in | |||
37 | fi | 33 | fi |
38 | ;; | 34 | ;; |
39 | stop) | 35 | stop) |
40 | if [ $UID -ne 0 ] ; then | ||
41 | echo "User has insufficient privilege." | ||
42 | exit 1 | ||
43 | fi | ||
44 | echo -n "Stopping crond: " | 36 | echo -n "Stopping crond: " |
45 | start-stop-daemon --stop --quiet --pidfile /var/run/crond.pid | 37 | start-stop-daemon --stop --quiet --pidfile /var/run/crond.pid |
46 | RETVAL=$? | 38 | RETVAL=$? |