1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/smb.conf/ibays/40vetoOplock mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/smb.conf/ibays/40vetoOplock |
2 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/smb.conf/ibays/40vetoOplock 1969-12-31 17:00:00.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/smb.conf/ibays/40vetoOplock 2007-01-25 14:58:47.000000000 -0700 |
4 |
|
|
@@ -0,0 +1,9 @@ |
5 |
|
|
+{ |
6 |
|
|
+ if ( ($ibay->prop('OpLocks') || 'enabled') eq 'disabled') { |
7 |
|
|
+ $OUT .= "oplocks = no\n"; |
8 |
|
|
+ $OUT .= "level2 oplocks = no"; |
9 |
|
|
+ } else { |
10 |
|
|
+ $vetofiles = $ibay->prop('VetoOplockFiles') || return ''; |
11 |
|
|
+ $OUT = "veto oplock files = $vetofiles"; |
12 |
|
|
+ } |
13 |
|
|
+} |