summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/named
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
committerschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
commitb7d872536535fe8afd8ad5080a504fa41a77c095 (patch)
treec750ff3f496fe6079fff457037e64eba1f20e162 /etc/rc.d/named
parentc60d03847fad771361b5a5590015bfe65a1b3023 (diff)
downloadFreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.zip
FreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.tar.gz
Fix style bugs:
* Space -> tabs conversion. * Removed blanks before semicolon in "if ... ; then". * Proper indentation of misindented lines. * Put a full stop after some comments. * Removed whitespace at end of line. Approved by: silence from gordon
Diffstat (limited to 'etc/rc.d/named')
-rwxr-xr-xetc/rc.d/named22
1 files changed, 11 insertions, 11 deletions
diff --git a/etc/rc.d/named b/etc/rc.d/named
index f4ac4c7..0bd5cac 100755
--- a/etc/rc.d/named
+++ b/etc/rc.d/named
@@ -52,18 +52,18 @@ chroot_autoupdate()
cp -p /usr/libexec/named-xfer "${named_chrootdir}/usr/libexec"
fi
- # Copy /dev/null over, if neccessary. Preserve everything (perms,
- # ownership, mod times).
- #
- if [ ! -c "${named_chrootdir}/dev/null" ]; then
- rm -f "${named_chrootdir}/dev/null"
- ( cd /dev ; /bin/pax -rw -pe null "${named_chrootdir}/dev" )
- fi
+ # Copy /dev/null over, if neccessary. Preserve everything (perms,
+ # ownership, mod times).
+ #
+ if [ ! -c "${named_chrootdir}/dev/null" ]; then
+ rm -f "${named_chrootdir}/dev/null"
+ ( cd /dev ; /bin/pax -rw -pe null "${named_chrootdir}/dev" )
+ fi
- # Copy local timezone information if it's not up-to-date.
- #
- if [ -f /etc/localtime ]; then
- cmp -s /etc/localtime "${named_chrootdir}/etc/localtime" || \
+ # Copy local timezone information if it's not up-to-date.
+ #
+ if [ -f /etc/localtime ]; then
+ cmp -s /etc/localtime "${named_chrootdir}/etc/localtime" || \
cp -p /etc/localtime "${named_chrootdir}/etc/localtime"
fi
}
OpenPOWER on IntegriCloud