/[smeserver]/rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-primary_ibay_symlink.patch
ViewVC logotype

Annotation of /rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-primary_ibay_symlink.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Oct 1 03:07:45 2013 UTC (10 years, 8 months ago) by mrjhb3
Branch: MAIN
CVS Tags: e-smith-ibays-2_4_0-4_el6_sme, e-smith-ibays-2_4_0-7_el6_sme, e-smith-ibays-2_4_0-14_el6_sme, e-smith-ibays-2_4_0-12_el6_sme, e-smith-ibays-2_4_0-13_el6_sme, e-smith-ibays-2_4_0-5_el6_sme, e-smith-ibays-2_4_0-3_el6_sme, e-smith-ibays-2_4_0-11_el6_sme, e-smith-ibays-2_4_0-6_el6_sme, e-smith-ibays-2_4_0-8_el6_sme, HEAD
Please see changelog

1 mrjhb3 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays mezzanine_patched_e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays
2     --- e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays 2003-07-02 13:11:13.000000000 -0500
3     +++ mezzanine_patched_e-smith-ibays-2.4.0/root/etc/e-smith/events/actions/init-ibays 2013-09-30 21:58:54.148036446 -0500
4     @@ -26,31 +26,9 @@
5     use Errno;
6     use esmith::util;
7    
8     -#------------------------------------------------------------
9     -# Now create the /home/e-smith subdirectories. An upgrade from
10     -# the original e-smith 3.0 can sometimes corrupt this structure,
11     -# so make sure every single directory is there.
12     -#
13     -# Before we start, remember if there was a /home/e-smith directory.
14     -# If so, we will do a factory reset afterward to make sure there
15     -# is a reasonable default configuration.
16     -#------------------------------------------------------------
17     -
18     -my $files = "/home/e-smith/files";
19     -
20     -unless (-l "$files/primary")
21     -{
22     - if (-d "$files/primary")
23     - {
24     - rename("$files/primary", "$files/ibays/Primary")
25     - or warn("Could not rename primary i-bay: $!");
26     - }
27     - symlink("$files/ibays/Primary", "$files/primary")
28     - or warn("Could not create primary legacy symlink: $!");
29     -}
30     -
31     # Populate pre-defined Primary i-bay
32     # Start with top level owner/permissions
33     +my $files = "/home/e-smith/files";
34     my $perms = 0755;
35     my $owner = 'root';
36     my $group = 'root';

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