/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-straysymlink.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-straysymlink.patch

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


Revision 1.2 - (show annotations) (download)
Tue Feb 18 06:21:38 2014 UTC (10 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove obsolete patch files

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