summaryrefslogtreecommitdiffstats
path: root/elchos/root-image/krebs/bin/update-search.sh
diff options
context:
space:
mode:
Diffstat (limited to 'elchos/root-image/krebs/bin/update-search.sh')
-rwxr-xr-xelchos/root-image/krebs/bin/update-search.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/elchos/root-image/krebs/bin/update-search.sh b/elchos/root-image/krebs/bin/update-search.sh
new file mode 100755
index 00000000..665f6543
--- /dev/null
+++ b/elchos/root-image/krebs/bin/update-search.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+for i in /media/vag*;do
+ updatedb -l 0 -o "$i/mlocate.db" -U "$i"
+done
+echo "update complete"