Update copyrights, my email and license.
This commit is contained in:
parent
5de53f176c
commit
fec312d448
@ -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 :)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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}"
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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}
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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}
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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}}
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user