diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-01-21 14:06:33 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-01-21 14:06:33 +0000 |
commit | e0b8f4e7a3196af27595bf087a84f0530617f0b1 (patch) | |
tree | 524be0641a7a00b95a74495f3b1bc4c28d689487 | |
parent | bc87b91f9e26961ff74492df1754dbdc189b91f3 (diff) | |
download | FreeBSD-src-e0b8f4e7a3196af27595bf087a84f0530617f0b1.zip FreeBSD-src-e0b8f4e7a3196af27595bf087a84f0530617f0b1.tar.gz |
Fix typo and simplify condition.
Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
-rwxr-xr-x | release/rc.local | 3 |
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 |