path: root/rpc
diff options
authorRaghavendra Talur <>2013-10-07 13:08:49 +0530
committerAnand Avati <>2013-10-08 09:22:00 -0700
commit11bb1fc5849a557d1a26e59bd651fbd0d07a1b8d (patch)
tree08cd90bc0189b9b09d8f5eae89947805c7001d32 /rpc
parent1f6b0f5cfc5abebe3a8facfb8b72e5554c1314d2 (diff)
extras/hookscripts: Fix the multiple entries in smb.conf problem.
Problem: 1. Force starts and user.smb sets were adding multiple entries to the smb.conf file for the same volume. Make a check for the entry and search with exact name. 2. Again, while deleting the share name from smb.conf search with exact name so that volumes with names which are substrings of ones to be deleted don't get deleted. 3. We don't need to use a tmp file while using sed -i, fixed that. Change-Id: Ie0f7c9d4790ef9a177a043378a761c9ffe1628e5 BUG: 994727 Signed-off-by: Raghavendra Talur <> Reviewed-on: Reviewed-by: Niels de Vos <> Reviewed-by: Lalatendu Mohanty <> Tested-by: Lalatendu Mohanty <>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions