Lines Matching refs:rootdir
26 rootdir="/var/lib/unbound"
38 if [ ! -e ${rootdir}/etc/resolv.conf ] || /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv.conf; then
39 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
41 if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; then
42 cp -fp /etc/localtime ${rootdir}/etc/localtime
44 mount --bind -n /dev/log ${rootdir}/dev/log >/dev/null 2>&1;
45 mount --bind -n /dev/urandom ${rootdir}/dev/urandom >/dev/null 2>&1;
46 mount --bind -n /var/run/unbound ${rootdir}/var/run/unbound >/dev/null 2>&1;
64 if egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}''${mountfile}'' /proc/mounts; then
65 umount ${rootdir}$mountfile >/dev/null 2>&1