aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2021-04-07 16:42:24 +0200
committerJan Macku <jamacku@redhat.com>2021-05-31 16:03:53 +0200
commited2056c28bb76d9a0e7c201e210d2767ab7f164a (patch)
treebd4e36bfe1c9d71e6fbe8c4c9462b333a85a2cbe /etc
parent162d35c5fd2ab082efb65c5cfc8206b8bab5f52f (diff)
downloadinitscripts-ed2056c28bb76d9a0e7c201e210d2767ab7f164a.tar
initscripts-ed2056c28bb76d9a0e7c201e210d2767ab7f164a.tar.gz
initscripts-ed2056c28bb76d9a0e7c201e210d2767ab7f164a.tar.bz2
initscripts-ed2056c28bb76d9a0e7c201e210d2767ab7f164a.tar.xz
initscripts-ed2056c28bb76d9a0e7c201e210d2767ab7f164a.zip
spec: Move service script into subpackage
This changes moves service script into initscripts-service subpackage. The subpackage could be install without main package. This change allows audit not to require initscripts and require only initscripts-service instead. Requested by: msekleta@redhat.com
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/init.d/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.d/init.d/functions b/etc/rc.d/init.d/functions
index 5ede6c76..e5576196 100644
--- a/etc/rc.d/init.d/functions
+++ b/etc/rc.d/init.d/functions
@@ -605,6 +605,7 @@ strstr() {
}
# Check whether file $1 is a backup or rpm-generated file and should be ignored
+# Copy of the function is present in usr/sbin/service
is_ignored_file() {
case "$1" in
*~ | *.bak | *.old | *.orig | *.rpmnew | *.rpmorig | *.rpmsave)