diff options
author | Harald Hoyer <harald@redhat.com> | 2010-08-03 18:14:03 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-08-03 18:19:30 +0200 |
commit | 93cc50fe12718a04317589cce122e864137d6b42 (patch) | |
tree | b944ac0c914055daf9a00eacb273e86db4f60f21 /initscripts.spec | |
parent | e127d5bcfe2e0175e88e8afdd644ee05a22538a5 (diff) | |
download | initscripts-9972e43b38c3b16d37745aaed99b8fa777b8c021.tar initscripts-9972e43b38c3b16d37745aaed99b8fa777b8c021.tar.gz initscripts-9972e43b38c3b16d37745aaed99b8fa777b8c021.tar.bz2 initscripts-9972e43b38c3b16d37745aaed99b8fa777b8c021.tar.xz initscripts-9972e43b38c3b16d37745aaed99b8fa777b8c021.zip |
add systemd servicesinitscripts-9.16.0.1.systemd-1
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec index 19d5ba04..6578c1e9 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -2,7 +2,7 @@ Summary: The inittab file and the /etc/init.d scripts Name: initscripts -Version: 9.16 +Version: 9.16.0.1.systemd # ppp-watch is GPLv2+, everything else is GPLv2 License: GPLv2 and GPLv2+ Group: System Environment/Base @@ -26,7 +26,9 @@ Requires: SysVinit >= 2.85-38 Requires: /sbin/ip, /sbin/arping, net-tools, /bin/find Requires: /etc/system-release Requires: /sbin/runuser -Requires: udev >= 125-1 +Requires: udev >= 160-8 +Requires: systemd-units +Conflicts: systemd < 4-4 Requires: cpio Conflicts: mkinitrd < 4.0, kernel < 2.6.18, mdadm < 3.1.2-9 Conflicts: ypbind < 1.6-12, psacct < 6.3.2-12, kbd < 1.06-19, lokkit < 0.50-14 @@ -106,6 +108,19 @@ chmod 600 /var/log/btmp /sbin/chkconfig --add network /sbin/chkconfig --add netconsole +for i in + rcS-autoswap.service rcS-cleanup.service rcS-configure.service \ + rcS-dmesg.service rcS-dmraid.service rcS-initcrypto1.service \ + rcS-initcrypto2.service rcS-initcrypto3.service rcS-kernelparam.service \ + rcS-loaddmmod.service rcS-loadmodules.service rcS-lvm.service \ + rcS-mdraid.service rcS-mountall.service rcS-multipath.service \ + rcS-quota.service rcS-random.service rcS-selinuxrelabel.service \ + rcS-sysinitend.service rcS-waitscan.service ;do + /bin/systemctl enable $i >/dev/null 2>&1; +done +: + +enable %preun if [ $1 = 0 ]; then /sbin/chkconfig --del netfs @@ -216,6 +231,8 @@ rm -rf $RPM_BUILD_ROOT /lib/udev/console_check /sbin/service /sbin/ppp-watch +/etc/rc.d/rcS.d/* +/lib/systemd/system/rcS*.service %{_mandir}/man*/* %dir %attr(775,root,root) /var/run/netreport %dir /etc/ppp |