Commit f78ccea 1 parent 3ff8d4e commit f78ccea Copy full SHA for f78ccea
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Delay a random time between 0 and 360 minutes (6 hours) to avoid having all
2
2
# instances update at the same time.
3
3
RANDOM_DELAY=360
4
- @daily start --quiet update-motd
4
+ @daily root /sbin/ start --quiet update-motd
Original file line number Diff line number Diff line change 1
1
Name: update-motd
2
2
Version: 1.0.1
3
- Release: 2 %{?dist }
3
+ Release: 3 %{?dist }
4
4
License: ASL 2.0
5
5
Summary: Framework for dynamically generating MOTD
6
6
Group: System Environment/Base
@@ -23,10 +23,10 @@ Based on and compatible with the framework implemented Ubuntu.
23
23
rm -rf %{buildroot }
24
24
install -d %{buildroot }/etc/update-motd.d
25
25
install -D -m 0755 %{SOURCE0 } %{buildroot }/usr/sbin/update-motd
26
- install -D -m 0755 %{SOURCE1 } %{buildroot }/etc/cron.d/update-motd
27
- install -D -m 0444 %{SOURCE2 } %{buildroot }/etc/init/update-motd.conf
28
- install -D -m 0444 %{SOURCE3 } %{buildroot }/usr/lib/yum-plugins/update-motd.py
29
- install -D -m 0444 %{SOURCE4 } %{buildroot }/etc/yum/pluginconf.d/update-motd.conf
26
+ install -D -m 0644 %{SOURCE1 } %{buildroot }/etc/cron.d/update-motd
27
+ install -D -m 0644 %{SOURCE2 } %{buildroot }/etc/init/update-motd.conf
28
+ install -D -m 0644 %{SOURCE3 } %{buildroot }/usr/lib/yum-plugins/update-motd.py
29
+ install -D -m 0644 %{SOURCE4 } %{buildroot }/etc/yum/pluginconf.d/update-motd.conf
30
30
# for %ghost
31
31
install -d %{buildroot }/var/lib/update-motd
32
32
touch %{buildroot }/var/lib/update-motd/motd
You can’t perform that action at this time.
0 commit comments