Update copyrights, my email and license.

This commit is contained in:
Roy Marples 2008-01-11 15:31:10 +00:00
parent 5de53f176c
commit fec312d448
88 changed files with 176 additions and 218 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# If $TERM is not set then assume default of @TERM@
# This gives us a nice colour boot :)

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2007 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# Handle interrupts
trap : SIGINT SIGQUIT

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2007 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# Inform RC that we are in the background and hotplugged
export IN_BACKGROUND=yes

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
extra_commands="reset"
hostid_file=${hostid_file:-/etc/hostid}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
extra_commands="restore"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
mouse=${SVCNAME##*.}
if [ -n "${name}" -a "${mouse}" != "moused" ]; then

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
required_files="/etc/newsyslog.conf"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/powerd
command_args=${powerd_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/rarpd
command_args="-f ${rarpd_args}"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
depend()
{

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/rpcbind
command_args=${rpcbind_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Saves a kernel dump."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
depend()
{

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/syslogd
command_args=${syslogd_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
extra_commands="save"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/sbin/devd
command_args=${devd_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Configures a specific kernel dump device."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# This is based on /etc/rc.firewall and /etc/rc.firewall6 from FreeBSD

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/nscd
command_args="${nscd_args}"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
depend() {
need localmount

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
extra_commands="save show"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Sets a font for the consoles."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Applies a keymap for the consoles."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Loads a user defined list of kernel modules."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Turns numlock on for the consoles."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Mounts misc filesystems in /proc."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
depend()
{

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007 Roy Marples
# All rights reserved
# Copyright 2007 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
start()
{

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=@PREFIX@/sbin/avahi-dnsconfd
command_args="${avahi_dnsconfd_args} -D"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=@PREFIX@%%/sbin/avahi-daemon
command_args="${avahid_args} -D"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=@PREFIX@%%/bin/dbus-daemon
pidfile=@VARBASE@/run/dbus/dbus.pid

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=@PREFIX@/sbin/dnsmasq
command_args=${dnsmasq_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=@PREFIX@/sbin/hald
pidfile=@VARBASE@/run/hald/hald.pid

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/named
command_args=${named_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
ntpd_config=${ntpd_config:-/etc/ntp.conf}
ntpd_drift=${ntpd_drift:-/var/db/ntpd.drift}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
vpn=${SVCNAME#*.}
name="OpenVPN"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=@PREFIX@/sbin/polkitd
pidfile=@VARBASE@/run/polkitd/polkitd.pid

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
command=/usr/sbin/sshd
command_args=${sshd_args}

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
depend()
{

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Check filesystems according to /etc/fstab for errors and \
optionally repair them."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Check the root filesystem according to /etc/fstab for errors \
and optionally repair them."

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
. /etc/init.d/functions.sh
. "${RC_LIBDIR}"/sh/rc-functions.sh

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Sets the hostname of the machine."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Executes user commands in /etc/conf.d/local"

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Mounts disks and swap according to /etc/fstab."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Mounts network shares according to /etc/fstab."

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
depend()
{

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
urandom_seed=${urandom_seed:-${URANDOM_SEED:-/var/run/random-seed}}

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
ifconfig_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars ssid mode associate_timeout preferred_aps"
_config_vars="$_config_vars blacklist_aps"

View File

@ -1,6 +1,6 @@
# Copyright 2004-2007 Gentoo Foundation
# Copyright 2007 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
adsl_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
apipa_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
arping_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
bonding_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_br2684ctl()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
bridge_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars ccwgroup"

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
ifconfig_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars plug_timeout"

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars link suffix relay"

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
ipppd_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
iproute2_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars ssid mode associate_timeout sleep_scan"
_config_vars="$_config_vars preferred_aps blacklist_aps"

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars plug_timeout"

View File

@ -1,6 +1,6 @@
# Copyright 2005-2007 Gentoo Foundation
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
pppd_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
pump_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
tuntap_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
udhcpc_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
vlan_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
dhclient_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
dhcpcd_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
macchanger_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
macnet_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
ssidnet_depend()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
_config_vars="$_config_vars dns_servers dns_domain dns_search"
_config_vars="$_config_vars dns_sortlist dns_options"

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
wpa_supplicant_depend()
{

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# void single_user()
# Drop to a shell, remount / ro, and then reboot

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# Try and set a font and as early as we can
if [ -e /etc/runlevels/"${RC_DEFAULTLEVEL}"/consolefont \

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 1999-2007 Gentoo Foundation
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# udev needs these functions still :/
try()

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# Allow any sh script to work with einfo functions and friends
# We also provide a few helpful functions for other programs to use

View File

@ -1,8 +1,8 @@
#!/bin/sh
# Shell wrapper to list our dependencies
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
. /etc/init.d/functions.sh

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# mount $svcdir as something we can write to if it's not rw
# On vservers, / is always rw at this point, so we need to clean out

View File

@ -1,6 +1,6 @@
#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
MODULESDIR="${RC_LIBDIR}/net"
MODULESLIST="${RC_SVCDIR}/nettree"

View File

@ -1,6 +1,6 @@
# Copyright 2007 Gentoo Foundation
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
has_addon()
{

View File

@ -1,5 +1,5 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# Handy function to handle all our unmounting needs
# mountinfo is a C program to actually find our mounts on our supported OS's

View File

@ -1,8 +1,8 @@
#!/bin/sh
# Shell wrapper for runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
. /etc/init.d/functions.sh
. "${RC_LIBDIR}"/sh/rc-functions.sh

View File

@ -1,27 +1,6 @@
#!/bin/sh
# Copyright 2007 Roy Marples
# All rights reserved
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# If we have a service specific script, run this now
[ -x "${SVCNAME}"-down.sh ] && "${SVCNAME}"-down.sh

View File

@ -1,27 +1,6 @@
#!/bin/sh
# Copyright 2007 Roy Marples
# All rights reserved
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
# Setup our resolv.conf
# Vitally important that we use the domain entry in resolv.conf so we