Skip to content

Instantly share code, notes, and snippets.

@jim-p
jim-p / gist:6057410
Last active December 20, 2015 02:39
diff --git a/scripts/build/build_installer_packages.sh b/scripts/build/build_installer_packages.sh
index 1bb3555..e403ab5 100755
--- a/scripts/build/build_installer_packages.sh
+++ b/scripts/build/build_installer_packages.sh
@@ -65,7 +65,7 @@ rebuild_port()
make makesum && \
make patch && \
chmod -R 777 work && \
- make $WITH_NLS_DEF $WITH_CURSES_DEF $WITH_CGI_DEF $WITH_QT_DEF \
+ make options_UNSET="${options_UNSET}" options_SET="${options_SET}" $WITH_NLS_DEF $WITH_CURSES_DEF $WITH_CGI_DEF $WITH_QT_DEF \
@jim-p
jim-p / gist:5984177
Created July 12, 2013 12:45
safe mode tweaks
dup bootsafekey @ = if
s" arch-i386" environment? if
drop
s" acpi_load" unsetenv
s" 1" s" hint.acpi.0.disabled" setenv
s" 1" s" loader.acpi_disabled_by_user" setenv
s" 1" s" hint.apic.0.disabled" setenv
then
s" 0" s" hw.ata.ata_dma" setenv
s" 0" s" hw.ata.atapi_dma" setenv
@jim-p
jim-p / gist:5579101
Created May 14, 2013 20:12
change to ufsid format. Should be scriptable.
: cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1b none swap sw 0 0
: dumpfs /dev/ad0s1a | head -n 2 | tail -n 1 | cut -f2 -d'[' | cut -f1 -d ']' | sed -e 's/[[:blank:]]//g'
51928c99a471c440
: swapoff -a
: glabel label swap /dev/ad0s1b
vlanmtu, vlanhwtag, vlanhwfilter, vlanhwcsum, vlanhwtso
If the driver offers user-configurable VLAN support, enable
reception of extended frames, tag processing in hardware, frame
filtering in hardware, checksum offloading, or TSO on VLAN,
respectively. Note that this must be issued on a physical inter-
face associated with vlan(4), not on a vlan(4) interface itself.
-vlanmtu, -vlanhwtag, -vlanhwfilter, -vlanhwtso
If the driver offers user-configurable VLAN support, disable
reception of extended frames, tag processing in hardware, frame
Something went wrong, check errors!
Log saved on /usr/obj./usr/home/pfsense/freesbie2/.tmp_buildkernel
mfi.o(.text+0x5480): In function `mfi_attach':
: undefined reference to `mfi_tbolt_alloc_cmd'
mfi.o(.text+0x54a8): In function `mfi_attach':
: undefined reference to `mfi_intr_tbolt'
mfi.o(.text+0x5716): In function `mfi_attach':
: undefined reference to `mfi_intr_tbolt'
mfi.o(.text+0x593c): In function `mfi_attach':
: undefined reference to `mfi_tbolt_sync_map_info'