summaryrefslogtreecommitdiffstats
path: root/release/rc.local
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-01-21 14:06:33 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-01-21 14:06:33 +0000
commite0b8f4e7a3196af27595bf087a84f0530617f0b1 (patch)
tree524be0641a7a00b95a74495f3b1bc4c28d689487 /release/rc.local
parentbc87b91f9e26961ff74492df1754dbdc189b91f3 (diff)
downloadFreeBSD-src-e0b8f4e7a3196af27595bf087a84f0530617f0b1.zip
FreeBSD-src-e0b8f4e7a3196af27595bf087a84f0530617f0b1.tar.gz
Fix typo and simplify condition.
Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
Diffstat (limited to 'release/rc.local')
-rwxr-xr-xrelease/rc.local3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/rc.local b/release/rc.local
index 29663e4..f0f297f 100755
--- a/release/rc.local
+++ b/release/rc.local
@@ -46,8 +46,7 @@ fi
export TERM
if [ -f /etc/installerconfig ]; then
- bsdinstall script /etc/installerconfig
- if [ $? -eq 0]; then
+ if bsdinstall script /etc/installerconfig; then
dialog --backtitle "FreeBSD Installer" --title "Complete" --no-cancel --ok-label "Reboot" --pause "Installation of FreeBSD complete! Rebooting in 10 seconds" 10 30 10
reboot
else
OpenPOWER on IntegriCloud