From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-January/022191.html | 117 ++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-January/022191.html (limited to 'zarb-ml/mageia-dev/2013-January/022191.html') diff --git a/zarb-ml/mageia-dev/2013-January/022191.html b/zarb-ml/mageia-dev/2013-January/022191.html new file mode 100644 index 000000000..4eda3502c --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/022191.html @@ -0,0 +1,117 @@ + + + + [Mageia-dev] Cleaning up init + + + + + + + + + +

[Mageia-dev] Cleaning up init

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Tue Jan 29 11:40:44 CET 2013 +

+
+ +
Le 29/01/2013 11:19, Colin Guthrie a écrit :
+> I've added a filetrigger to initscripts package to clean up the dangling
+> symlinks.
+>
+> I didn't use the symlinks tool as it's not a required package.
+>
+> find /etc/rc.d/rc{0,1,2,3,4,5,6,7}.d -type l -exec sh -c 'if [ ! -e {}
+> ]; then rm -f {}; fi' \;
+>
+> This does much the same job, but "find" is already used in multiple
+> places so probably a better solution even if the command is more convoluted!
+>
+> If anyone spots any issues with this, please shout.
+>
+> It'll be in the next initscripts package and it cleaned up all the
+> dangling symlinks in /etc/rc.d for me.
+I'd rather modify the del-service rpm helper to remove the link when the 
+init script is removed.
+
+-- 
+BOFH excuse #54:
+
+Evil dogs hypnotised the night shift
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1