Recreate
This commit is contained in:
parent
6cbf696da0
commit
190ddc0209
|
@ -0,0 +1,8 @@
|
|||
ISC License:
|
||||
|
||||
Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright (c) 1995-2003 by Internet Software Consortium
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/dhclient
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/dhclient-wlan0
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/ntpd
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/wpa_supplicant
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || exit 1
|
||||
# Create required dirs
|
||||
[ ! -d /etc/NetworkManager/dispatcher.d ] && mkdir -m0755 -p /etc/NetworkManager/dispatcher.d
|
||||
[ ! -d /etc/NetworkManager/VPN ] && mkdir -m0755 -p /etc/NetworkManager/VPN
|
||||
[ ! -d /etc/NetworkManager/system-connections ] && mkdir -m0755 -p /etc/NetworkManager/system-connections
|
||||
[ ! -d /var/lib/NetworkManager ] && mkdir -m0700 -p /var/lib/NetworkManager
|
||||
exec NetworkManager -n > /dev/null 2>&1
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1; set -e
|
||||
|
||||
[ -d /var/log/acpid ] || install -dm 755 /var/log/acpid
|
||||
|
||||
exec svlogd -tt /var/log/acpid
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec acpid -f 2>&1
|
|
@ -0,0 +1,2 @@
|
|||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-console
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
## from void below
|
||||
## exec chpst -P ${GETTY} ${GETTY_ARGS} \
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1,8 @@
|
|||
GETTY_ARGS="-L"
|
||||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
GETTY_ARGS="${GETTY_ARGS} -8"
|
||||
fi
|
||||
|
||||
BAUD_RATE=115200
|
||||
TERM_NAME=vt100
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty1
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty12
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty2" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty2
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty3
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty4
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty5
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty6
|
|
@ -0,0 +1,8 @@
|
|||
GETTY_ARGS="-L"
|
||||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
GETTY_ARGS="${GETTY_ARGS} -8"
|
||||
fi
|
||||
|
||||
BAUD_RATE=115200
|
||||
TERM_NAME=vt100
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-ttyAMA0
|
|
@ -0,0 +1,8 @@
|
|||
GETTY_ARGS="-L"
|
||||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
GETTY_ARGS="${GETTY_ARGS} -8"
|
||||
fi
|
||||
|
||||
BAUD_RATE=115200
|
||||
TERM_NAME=vt100
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-ttyS0
|
|
@ -0,0 +1,8 @@
|
|||
GETTY_ARGS="-L"
|
||||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
GETTY_ARGS="${GETTY_ARGS} -8"
|
||||
fi
|
||||
|
||||
BAUD_RATE=115200
|
||||
TERM_NAME=vt100
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
if [ -x /sbin/getty -o -x /bin/getty ]; then
|
||||
# busybox
|
||||
GETTY=getty
|
||||
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux
|
||||
GETTY=agetty
|
||||
fi
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-ttyUSB0
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
exec alsactl store
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
set -e
|
||||
alsactl restore
|
||||
exec chpst -b alsa pause
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
httpd -k graceful-stop
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec httpd -k start -DFOREGROUND
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec apcupsd -b
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec atd -f
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec atftpd --user=atftp.atftp --daemon --no-fork
|
|
@ -0,0 +1,9 @@
|
|||
# This option is used to determine if rules & watches should be deleted on
|
||||
# shutdown by loading the audit-stop file. This is beneficial in most cases
|
||||
# so that a watch doesn't linger on a drive that is being unmounted. If
|
||||
# set to no, it will NOT be cleaned up.
|
||||
AUDITD_CLEAN_STOP="no"
|
||||
|
||||
# This option determines whether or not to call augenrules to compile the
|
||||
# audit rules from /etc/audit/rules.d. The default is "yes".
|
||||
USE_AUGENRULES="yes"
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Remove watches so shutdown works cleanly
|
||||
|
||||
test -f /etc/audit/audit-stop.rules || exit 0
|
||||
test ! -r ./conf || . ./conf
|
||||
|
||||
case "$AUDITD_CLEAN_STOP" in
|
||||
no|NO) exit 0 ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
exec auditctl -R /etc/audit/audit-stop.rules >/dev/null
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
test ! -r ./conf || . ./conf
|
||||
|
||||
case "$USE_AUGENRULES" in
|
||||
no|NO) ;;
|
||||
*) test ! -d /etc/audit/rules.d || augenrules >/dev/null ;;
|
||||
esac
|
||||
|
||||
test ! -f /etc/audit/audit.rules || auditctl -R /etc/audit/audit.rules >/dev/null
|
||||
|
||||
exec chpst -b auditctl pause
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec auditd -n
|
|
@ -0,0 +1,9 @@
|
|||
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
|
||||
# util-linux specific settings
|
||||
if [ "${tty}" = "tty1" ]; then
|
||||
GETTY_ARGS="--noclear"
|
||||
fi
|
||||
fi
|
||||
|
||||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
tty=${PWD##*-}
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
/usr/bin/getty -8 -J -o -a make ]; then
|
||||
|
||||
exec setsid ${GETTY} ${GETTY_ARGS} \
|
||||
"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
|
||||
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty1
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
# if dbus is enabled wait for it.
|
||||
if [ -e /run/runit/service/dbus ]; then
|
||||
sv check dbus > /dev/null || exit 1
|
||||
fi
|
||||
exec avahi-daemon -s
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ ! -d /var/cache/backlight ] && mkdir /var/cache/backlight
|
||||
[ ! -w /var/cache/backlight ] && chmod 755 /var/cache/backlight
|
||||
|
||||
for card in $(find /sys/class/backlight/ -type l); do
|
||||
cp "/sys/class/backlight/$(basename "$card")/brightness" "/var/cache/backlight/$(basename "$card")-brightness-old"
|
||||
done
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
for card in $(find /sys/class/backlight/ -type l); do
|
||||
if [ -r "/var/cache/backlight/$(basename "$card")-brightness-old" ]; then
|
||||
cp "/var/cache/backlight/$(basename "$card")-brightness-old" "/sys/class/backlight/$(basename "$card")/brightness"
|
||||
fi
|
||||
done
|
||||
|
||||
exec chpst -b backlight pause
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec bftpd -D
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/lib/bluetooth/bluetoothd -n >/dev/null
|
|
@ -0,0 +1,11 @@
|
|||
# Read default configuration
|
||||
[ -f /etc/default/boinc-client ] && . /etc/default/boinc-client
|
||||
# Override with global configuration
|
||||
[ -f /etc/boinc-client.conf ] && . /etc/boinc-client.conf
|
||||
BOINCEXE_NAME=${BOINCEXE_NAME:-boinc_client}
|
||||
BOINCCMD_NAME=${BOINCCMD_NAME:-boinccmd}
|
||||
BOINCUSER=${BOINCUSER:-boinc}
|
||||
BOINCDIR=${BOINCDIR:-/var/lib/boinc}
|
||||
LOGFILE=${LOGFILE:-/var/log/${BOINCEXE_NAME}.log}
|
||||
ERRORLOG=${ERRORLOG:-/var/log/${BOINCEXE_NAME}_err.log}
|
||||
OPTS="${BOINCOPTS} --dir ${BOINCDIR}"
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
[ -d ${BOINCDIR} ] || mkdir -m 755 -p ${BOINCDIR}
|
||||
[ -f ${LOGFILE} ] || touch ${LOGFILE}
|
||||
[ -f ${ERRORLOG} ] || touch ${ERRORLOG}
|
||||
chown --recursive ${BOINCUSER}:${BOINCUSER} ${BOINCDIR} ${LOGFILE} ${ERRORLOG}
|
||||
exec 2>&1
|
||||
exec chpst -u ${BOINCUSER} ${BOINCEXE_NAME} ${OPTS}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/lib/boltd >dev/null 2>&1
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
mkdir -p /run/brltty || exit 1
|
||||
exec brltty -n
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec bumblebeed --use-syslog
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
install -d -m750 -o chrony -g chrony /run/chrony
|
||||
exec chronyd -n -u chrony
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec clamd --foreground=true
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u colord /usr/lib/colord 2>&1
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
exec connmand -n ${OPTS}
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec console-kit-daemon --no-daemon --debug
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec consul agent --config-dir=/etc/consul.d
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u turnserver:turnserver turnserver -c /etc/turnserver.conf --pidfile /var/tmp/turnserver.pid
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
[ -r /etc/default/cpupower ] && . /etc/default/cpupower
|
||||
|
||||
# CPU speed
|
||||
[ "$governor" ] && cpupower frequency-set -g "$governor"
|
||||
[ "$max_freq" ] && cpupower frequency-set -u "$max_freq"
|
||||
[ "$min_freq" ] && cpupower frequency-set -d "$min_freq"
|
||||
[ "$freq" ] && cpupower frequency-set -f "$freq"
|
||||
|
||||
# CPU options
|
||||
[ "$perf_bias" ] && cpupower set -b "$perf_bias"
|
||||
[ "$mc_scheduler" ] && cpupower set -m "$mc_scheduler"
|
||||
[ "$smp_scheduler" ] && cpupower set -s "$smp_scheduler"
|
||||
|
||||
exec chpst -b cpupower pause
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec crond -n 2>&1
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec cupsd -f
|
|
@ -0,0 +1,12 @@
|
|||
# Specify which port to listen on for connections. (8080 by default)
|
||||
#PORT=8080
|
||||
|
||||
# Run darkhttpd as given user/group ('http' by default)
|
||||
#USER="http"
|
||||
#GROUP="http"
|
||||
|
||||
# The root of the web directory (/srv/http by default)
|
||||
#DIR="/srv/http"
|
||||
|
||||
# Custom options (see man darkhttpd for details)
|
||||
#OPTS=""
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
[ -r ../conf ] && . ../conf
|
||||
[ ! -d /var/log/darkhttpd ] && mkdir -p /var/log/darkhttpd
|
||||
[ "$(ls -dl /var/log/darkthtpd | awk '{print $3}')" != ${USER} ] && chown ${USER}:${GROUP} /var/log/darkhttpd
|
||||
exec chpst -u ${USER}:${GROUP} svlogd -tt /var/log/darkhttpd
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
exec chpst -u ${USER:=http}:${GROUP:=http} darkhttpd ${DIR:=/srv/http} --port ${PORT:=8080} ${OPTS} 2>&1
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec dbus-send --system / org.freedesktop.DBus.Peer.Ping >/dev/null 2>&1
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1; set -e
|
||||
|
||||
[ -d /var/log/dbus ] || install -dm 755 /var/log/dbus
|
||||
|
||||
exec svlogd -tt /var/log/dbus
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
dbus-uuidgen --ensure=/etc/machine-id
|
||||
[ -d /run/dbus ] || install -m755 -g 81 -o 81 -d /run/dbus
|
||||
exec dbus-daemon --system --nofork --nopidfile
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec ddclient -foreground
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u deluge deluge-web -d
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue