c6a08eaf8d
... to avoid the warning triggered by logrotate, which was reported in the bug. /etc/cron.daily/logrotate: invoke-rc.d: policy-rc.d query returned "behaviour undefined", invoke-rc.d: assuming "rotate" is allowed. invoke-rc.d: policy-rc.d query returned "behaviour undefined", invoke-rc.d: assuming "rotate" is allowed. Partial-Bug: #1873030 Change-Id: Icc0c12a6a66d3eb6f655ba1145ba372d5b1d2d43
9 lines
114 B
Plaintext
9 lines
114 B
Plaintext
#!/bin/bash
|
|
<% @services.each do |service| %>
|
|
if [ "$1" == "<%= service %>" ]
|
|
then
|
|
exit 101
|
|
fi
|
|
<% end %>
|
|
exit 0
|