cron/mlocate updated
This commit is contained in:
parent
679f1417e3
commit
25a6d6e5b7
|
@ -28,7 +28,7 @@ fi
|
||||||
# check the config file
|
# check the config file
|
||||||
NODEVS=""
|
NODEVS=""
|
||||||
if [ ! -f /etc/updatedb.conf ]; then
|
if [ ! -f /etc/updatedb.conf ]; then
|
||||||
NODEVS=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
|
NODEVS=$(awk '$1 == "nodev" && $2 != "rootfs" { print $2 }' /proc/filesystems)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# alter the priority of the updatedb process
|
# alter the priority of the updatedb process
|
||||||
|
|
|
@ -28,7 +28,7 @@ fi
|
||||||
# check the config file
|
# check the config file
|
||||||
NODEVS=""
|
NODEVS=""
|
||||||
if [ ! -f /etc/updatedb.conf ]; then
|
if [ ! -f /etc/updatedb.conf ]; then
|
||||||
NODEVS=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
|
NODEVS=$(awk '$1 == "nodev" && $2 != "rootfs" { print $2 }' /proc/filesystems)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# alter the priority of the updatedb process
|
# alter the priority of the updatedb process
|
||||||
|
|
Loading…
Reference in New Issue