Skip to content

Instantly share code, notes, and snippets.

@firefish5000
firefish5000 / interface-tokenized-nft
Last active May 6, 2017 06:36
Funtoo. Using Delegated prefix with a static host. Automaticly add dynamic ipv6 prefix to an nft intranet set
#!/bin/sh
#/etc/netif.d/interface-tokenized-nft
# Replace the command 'ip -6 addr show up' with 'ip -6 addr show scope link up' to only add link local
# addresses, 'ip -6 addr show scope global up' to only add global addresses.
netif_pre_up() {
local count=-1
local label
local bcast
for ipnm in $ipaddr $ipaddrs; do
@firefish5000
firefish5000 / interface-tokenized
Last active May 6, 2017 04:31
Funtoo ip token set support. Dynamic prefix, static host. Using Delegated prefix with a static host.
#!/bin/sh
#/etc/netif.d/interface-tokenized
netif_pre_up() {
local count=-1
local label
local bcast
for ipnm in $ipaddr $ipaddrs; do
if [ $count -ge 0 ]
then
@firefish5000
firefish5000 / firefox-9999.ebuild
Last active January 17, 2017 11:29
Firefox live ebuild (for those that like long compile times, and those not using pulse for some oddball reason)
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# www-client/firefox/firefox-9999.ebuild
EAPI=6
VIRTUALX_REQUIRED="pgo"
WANT_AUTOCONF="2.1"
MOZ_ESR=""