1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-shared-folders-0.1/createlinks mezzanine_patched_smeserver-shared-folders-0.1/createlinks |
2 |
--- smeserver-shared-folders-0.1/createlinks 2009-04-08 11:55:18.000000000 +0200 |
3 |
+++ mezzanine_patched_smeserver-shared-folders-0.1/createlinks 2009-04-29 18:06:34.000000000 +0200 |
4 |
@@ -36,4 +36,5 @@ |
5 |
safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/smbd"); |
6 |
} |
7 |
|
8 |
+templates2events("/etc/fstab", "post-upgrade"); |
9 |
|
10 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL |
11 |
--- smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL 1970-01-01 01:00:00.000000000 +0100 |
12 |
+++ mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL 2009-04-29 18:03:13.000000000 +0200 |
13 |
@@ -0,0 +1,10 @@ |
14 |
+{ |
15 |
+ # Change usrquota,grpquota => usrquota,grpquota,acl for / file system |
16 |
+ @lines = map { |
17 |
+ /\s\/\s+ext[23]\s+usrquota,grpquota\s/ && s/usrquota,grpquota/usrquota,grpquota,acl/; |
18 |
+ /^\/dev\/main\/.*\s+ext[23]\s+usrquota,grpquota\s/ && s/usrquota,grpquota/usrquota,grpquota,acl/; |
19 |
+ $_ |
20 |
+ } @lines; |
21 |
+ ""; |
22 |
+} |
23 |
+ |