Update copyrights, my email and license.
This commit is contained in:
parent
5de53f176c
commit
fec312d448
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# If $TERM is not set then assume default of @TERM@
|
# If $TERM is not set then assume default of @TERM@
|
||||||
# This gives us a nice colour boot :)
|
# This gives us a nice colour boot :)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# Handle interrupts
|
# Handle interrupts
|
||||||
trap : SIGINT SIGQUIT
|
trap : SIGINT SIGQUIT
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# Inform RC that we are in the background and hotplugged
|
# Inform RC that we are in the background and hotplugged
|
||||||
export IN_BACKGROUND=yes
|
export IN_BACKGROUND=yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
extra_commands="reset"
|
extra_commands="reset"
|
||||||
hostid_file=${hostid_file:-/etc/hostid}
|
hostid_file=${hostid_file:-/etc/hostid}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
extra_commands="restore"
|
extra_commands="restore"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
mouse=${SVCNAME##*.}
|
mouse=${SVCNAME##*.}
|
||||||
if [ -n "${name}" -a "${mouse}" != "moused" ]; then
|
if [ -n "${name}" -a "${mouse}" != "moused" ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
required_files="/etc/newsyslog.conf"
|
required_files="/etc/newsyslog.conf"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/powerd
|
command=/usr/sbin/powerd
|
||||||
command_args=${powerd_args}
|
command_args=${powerd_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/rarpd
|
command=/usr/sbin/rarpd
|
||||||
command_args="-f ${rarpd_args}"
|
command_args="-f ${rarpd_args}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/rpcbind
|
command=/usr/sbin/rpcbind
|
||||||
command_args=${rpcbind_args}
|
command_args=${rpcbind_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Saves a kernel dump."
|
description="Saves a kernel dump."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/syslogd
|
command=/usr/sbin/syslogd
|
||||||
command_args=${syslogd_args}
|
command_args=${syslogd_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
extra_commands="save"
|
extra_commands="save"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/sbin/devd
|
command=/sbin/devd
|
||||||
command_args=${devd_args}
|
command_args=${devd_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Configures a specific kernel dump device."
|
description="Configures a specific kernel dump device."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# This is based on /etc/rc.firewall and /etc/rc.firewall6 from FreeBSD
|
# This is based on /etc/rc.firewall and /etc/rc.firewall6 from FreeBSD
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/nscd
|
command=/usr/sbin/nscd
|
||||||
command_args="${nscd_args}"
|
command_args="${nscd_args}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need localmount
|
need localmount
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
extra_commands="save show"
|
extra_commands="save show"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Sets a font for the consoles."
|
description="Sets a font for the consoles."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Applies a keymap for the consoles."
|
description="Applies a keymap for the consoles."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Loads a user defined list of kernel modules."
|
description="Loads a user defined list of kernel modules."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Turns numlock on for the consoles."
|
description="Turns numlock on for the consoles."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Mounts misc filesystems in /proc."
|
description="Mounts misc filesystems in /proc."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007 Roy Marples
|
# Copyright 2007 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=@PREFIX@/sbin/avahi-dnsconfd
|
command=@PREFIX@/sbin/avahi-dnsconfd
|
||||||
command_args="${avahi_dnsconfd_args} -D"
|
command_args="${avahi_dnsconfd_args} -D"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=@PREFIX@%%/sbin/avahi-daemon
|
command=@PREFIX@%%/sbin/avahi-daemon
|
||||||
command_args="${avahid_args} -D"
|
command_args="${avahid_args} -D"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=@PREFIX@%%/bin/dbus-daemon
|
command=@PREFIX@%%/bin/dbus-daemon
|
||||||
pidfile=@VARBASE@/run/dbus/dbus.pid
|
pidfile=@VARBASE@/run/dbus/dbus.pid
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=@PREFIX@/sbin/dnsmasq
|
command=@PREFIX@/sbin/dnsmasq
|
||||||
command_args=${dnsmasq_args}
|
command_args=${dnsmasq_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=@PREFIX@/sbin/hald
|
command=@PREFIX@/sbin/hald
|
||||||
pidfile=@VARBASE@/run/hald/hald.pid
|
pidfile=@VARBASE@/run/hald/hald.pid
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/named
|
command=/usr/sbin/named
|
||||||
command_args=${named_args}
|
command_args=${named_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
ntpd_config=${ntpd_config:-/etc/ntp.conf}
|
ntpd_config=${ntpd_config:-/etc/ntp.conf}
|
||||||
ntpd_drift=${ntpd_drift:-/var/db/ntpd.drift}
|
ntpd_drift=${ntpd_drift:-/var/db/ntpd.drift}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
vpn=${SVCNAME#*.}
|
vpn=${SVCNAME#*.}
|
||||||
name="OpenVPN"
|
name="OpenVPN"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=@PREFIX@/sbin/polkitd
|
command=@PREFIX@/sbin/polkitd
|
||||||
pidfile=@VARBASE@/run/polkitd/polkitd.pid
|
pidfile=@VARBASE@/run/polkitd/polkitd.pid
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
command=/usr/sbin/sshd
|
command=/usr/sbin/sshd
|
||||||
command_args=${sshd_args}
|
command_args=${sshd_args}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Check filesystems according to /etc/fstab for errors and \
|
description="Check filesystems according to /etc/fstab for errors and \
|
||||||
optionally repair them."
|
optionally repair them."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Check the root filesystem according to /etc/fstab for errors \
|
description="Check the root filesystem according to /etc/fstab for errors \
|
||||||
and optionally repair them."
|
and optionally repair them."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
. /etc/init.d/functions.sh
|
. /etc/init.d/functions.sh
|
||||||
. "${RC_LIBDIR}"/sh/rc-functions.sh
|
. "${RC_LIBDIR}"/sh/rc-functions.sh
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Sets the hostname of the machine."
|
description="Sets the hostname of the machine."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Executes user commands in /etc/conf.d/local"
|
description="Executes user commands in /etc/conf.d/local"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Mounts disks and swap according to /etc/fstab."
|
description="Mounts disks and swap according to /etc/fstab."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
description="Mounts network shares according to /etc/fstab."
|
description="Mounts network shares according to /etc/fstab."
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
urandom_seed=${urandom_seed:-${URANDOM_SEED:-/var/run/random-seed}}
|
urandom_seed=${urandom_seed:-${URANDOM_SEED:-/var/run/random-seed}}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
ifconfig_depend()
|
ifconfig_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_config_vars="$_config_vars ssid mode associate_timeout preferred_aps"
|
_config_vars="$_config_vars ssid mode associate_timeout preferred_aps"
|
||||||
_config_vars="$_config_vars blacklist_aps"
|
_config_vars="$_config_vars blacklist_aps"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 2004-2007 Gentoo Foundation
|
# Copyright 2004-2007 Gentoo Foundation
|
||||||
# Copyright 2007 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
adsl_depend()
|
adsl_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
apipa_depend()
|
apipa_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
arping_depend()
|
arping_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
bonding_depend()
|
bonding_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_br2684ctl()
|
_br2684ctl()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
bridge_depend()
|
bridge_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_config_vars="$_config_vars ccwgroup"
|
_config_vars="$_config_vars ccwgroup"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
ifconfig_depend()
|
ifconfig_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_config_vars="$_config_vars plug_timeout"
|
_config_vars="$_config_vars plug_timeout"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_config_vars="$_config_vars link suffix relay"
|
_config_vars="$_config_vars link suffix relay"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
ipppd_depend()
|
ipppd_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
iproute2_depend()
|
iproute2_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_config_vars="$_config_vars ssid mode associate_timeout sleep_scan"
|
_config_vars="$_config_vars ssid mode associate_timeout sleep_scan"
|
||||||
_config_vars="$_config_vars preferred_aps blacklist_aps"
|
_config_vars="$_config_vars preferred_aps blacklist_aps"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
_config_vars="$_config_vars plug_timeout"
|
_config_vars="$_config_vars plug_timeout"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 2005-2007 Gentoo Foundation
|
# Copyright 2005-2007 Gentoo Foundation
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
pppd_depend()
|
pppd_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
pump_depend()
|
pump_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
tuntap_depend()
|
tuntap_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
udhcpc_depend()
|
udhcpc_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
vlan_depend()
|
vlan_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
dhclient_depend()
|
dhclient_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
dhcpcd_depend()
|
dhcpcd_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
macchanger_depend()
|
macchanger_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
macnet_depend()
|
macnet_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
ssidnet_depend()
|
ssidnet_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# 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_servers dns_domain dns_search"
|
||||||
_config_vars="$_config_vars dns_sortlist dns_options"
|
_config_vars="$_config_vars dns_sortlist dns_options"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
wpa_supplicant_depend()
|
wpa_supplicant_depend()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# void single_user()
|
# void single_user()
|
||||||
# Drop to a shell, remount / ro, and then reboot
|
# Drop to a shell, remount / ro, and then reboot
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# Try and set a font and as early as we can
|
# Try and set a font and as early as we can
|
||||||
if [ -e /etc/runlevels/"${RC_DEFAULTLEVEL}"/consolefont \
|
if [ -e /etc/runlevels/"${RC_DEFAULTLEVEL}"/consolefont \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 1999-2007 Gentoo Foundation
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# udev needs these functions still :/
|
# udev needs these functions still :/
|
||||||
try()
|
try()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# Allow any sh script to work with einfo functions and friends
|
# Allow any sh script to work with einfo functions and friends
|
||||||
# We also provide a few helpful functions for other programs to use
|
# We also provide a few helpful functions for other programs to use
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Shell wrapper to list our dependencies
|
# Shell wrapper to list our dependencies
|
||||||
|
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
. /etc/init.d/functions.sh
|
. /etc/init.d/functions.sh
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# mount $svcdir as something we can write to if it's not rw
|
# 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
|
# On vservers, / is always rw at this point, so we need to clean out
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
MODULESDIR="${RC_LIBDIR}/net"
|
MODULESDIR="${RC_LIBDIR}/net"
|
||||||
MODULESLIST="${RC_SVCDIR}/nettree"
|
MODULESLIST="${RC_SVCDIR}/nettree"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 2007 Gentoo Foundation
|
# Copyright 2007 Gentoo Foundation
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
has_addon()
|
has_addon()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# Handy function to handle all our unmounting needs
|
# Handy function to handle all our unmounting needs
|
||||||
# mountinfo is a C program to actually find our mounts on our supported OS's
|
# mountinfo is a C program to actually find our mounts on our supported OS's
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Shell wrapper for runscript
|
# Shell wrapper for runscript
|
||||||
|
|
||||||
# Copyright 2007-2008 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
. /etc/init.d/functions.sh
|
. /etc/init.d/functions.sh
|
||||||
. "${RC_LIBDIR}"/sh/rc-functions.sh
|
. "${RC_LIBDIR}"/sh/rc-functions.sh
|
||||||
|
@ -1,27 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# If we have a service specific script, run this now
|
# If we have a service specific script, run this now
|
||||||
[ -x "${SVCNAME}"-down.sh ] && "${SVCNAME}"-down.sh
|
[ -x "${SVCNAME}"-down.sh ] && "${SVCNAME}"-down.sh
|
||||||
|
@ -1,27 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2007 Roy Marples
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# Setup our resolv.conf
|
# Setup our resolv.conf
|
||||||
# Vitally important that we use the domain entry in resolv.conf so we
|
# Vitally important that we use the domain entry in resolv.conf so we
|
||||||
|
Loading…
Reference in New Issue
Block a user