2005-11-10 01:52:16 +00:00
|
|
|
#!/bin/sh
|
2010-08-26 20:31:57 +00:00
|
|
|
nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
|
2005-11-10 01:52:16 +00:00
|
|
|
renice +19 -p $$ >/dev/null 2>&1
|
2007-08-24 23:31:53 +00:00
|
|
|
ionice -c2 -n7 -p $$ >/dev/null 2>&1
|
2005-11-10 01:52:16 +00:00
|
|
|
/usr/bin/updatedb -f "$nodevs"
|