Skip to content

Commit

Permalink
Merge pull request #88 from bcyrill/fix_afterinstall
Browse files Browse the repository at this point in the history
Fix after_installation_routines.sh
  • Loading branch information
jim-p committed Feb 3, 2013
2 parents 9a43e03 + 9b5b3bd commit ab7c437
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions after_installation_routines.sh
Expand Up @@ -31,10 +31,7 @@ echo vm.kmem_size_max=\"535544320\" >> /mnt/boot/loader.conf
echo kern.ipc.nmbclusters=\"0\" >> /mnt/boot/loader.conf

# Hide usbus# from network interfaces list on pfSense >= 2.1
VERSION=`head -n 1 /mnt/etc/version | cut -c 1-3`
if [ "${VERSION}" != "1.2" -a "${VERSION}" != "2.0" ]; then
echo hw.usb.no_pf=\"1\" >> /mnt/boot/loader.conf
fi
VERSION=`head -n 1 /mnt/etc/version | cut -c 1-3`; if [ "${VERSION}" != "1.2" -a "${VERSION}" != "2.0" ]; then echo hw.usb.no_pf=\"1\" >> /mnt/boot/loader.conf; fi;

cd /mnt && rm -rf cloop/ dist/ boot/mfsroot.gz

Expand Down

0 comments on commit ab7c437

Please sign in to comment.