/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-5.0.0-straysymlink.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme7/e-smith-base-5.0.0-straysymlink.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Jun 6 15:18:28 2009 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-5_0_0-16_el4_sme, e-smith-base-5_0_0-10_el4_sme, e-smith-base-5_0_0-15_el4_sme, e-smith-base-5_0_0-13_el4_sme, e-smith-base-5_0_0-14_el4_sme, e-smith-base-5_0_0-12_el4_sme, e-smith-base-5_0_0-17_el4_sme, e-smith-base-5_0_0-6_el4_sme, e-smith-base-5_0_0-7_el4_sme, e-smith-base-5_0_0-11_el4_sme, e-smith-base-5_0_0-8_el4_sme, e-smith-base-5_0_0-9_el4_sme, HEAD
Clean up stray symlinks in /lib/modules before depmod

1 slords 1.1 --- e-smith-base-5.0.0/root/etc/e-smith/events/actions/conf-modules.straysymlink 2008-03-26 10:49:00.000000000 -0600
2     +++ e-smith-base-5.0.0/root/etc/e-smith/events/actions/conf-modules 2009-06-06 09:10:39.000000000 -0600
3     @@ -22,6 +22,10 @@
4    
5     use strict;
6     use Errno;
7     +use File::Find;
8     +
9     +# Remove stale symlinks from /lib/modules
10     +finddepth(sub{unlink unless -e $_}, '/lib/modules/');
11    
12     opendir(BOOT, "/boot") or die("Can't open /boot directory: $!\n");
13    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed