Recreate
This commit is contained in:
parent
6cbf696da0
commit
190ddc0209
8
LICENSE
Normal file
8
LICENSE
Normal file
|
@ -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.
|
1
etc/runit/runsvdir/default/dhclient
Symbolic link
1
etc/runit/runsvdir/default/dhclient
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/dhclient
|
1
etc/runit/runsvdir/default/dhclient-wlan0
Symbolic link
1
etc/runit/runsvdir/default/dhclient-wlan0
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/dhclient-wlan0
|
1
etc/runit/runsvdir/default/ntpd
Symbolic link
1
etc/runit/runsvdir/default/ntpd
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/ntpd
|
1
etc/runit/runsvdir/default/wpa_supplicant
Symbolic link
1
etc/runit/runsvdir/default/wpa_supplicant
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/runit/sv/wpa_supplicant
|
8
usr/lib/runit/sv/NetworkManager/run
Executable file
8
usr/lib/runit/sv/NetworkManager/run
Executable file
|
@ -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
|
6
usr/lib/runit/sv/acpid/log/run
Executable file
6
usr/lib/runit/sv/acpid/log/run
Executable file
|
@ -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
|
2
usr/lib/runit/sv/acpid/run
Executable file
2
usr/lib/runit/sv/acpid/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec acpid -f 2>&1
|
2
usr/lib/runit/sv/agetty-console/conf
Executable file
2
usr/lib/runit/sv/agetty-console/conf
Executable file
|
@ -0,0 +1,2 @@
|
|||
BAUD_RATE=38400
|
||||
TERM_NAME=linux
|
3
usr/lib/runit/sv/agetty-console/finish
Executable file
3
usr/lib/runit/sv/agetty-console/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-console/run
Executable file
16
usr/lib/runit/sv/agetty-console/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-console/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-console/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-console
|
3
usr/lib/runit/sv/agetty-generic/finish
Executable file
3
usr/lib/runit/sv/agetty-generic/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
17
usr/lib/runit/sv/agetty-generic/run
Executable file
17
usr/lib/runit/sv/agetty-generic/run
Executable file
|
@ -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}"
|
8
usr/lib/runit/sv/agetty-serial/conf
Executable file
8
usr/lib/runit/sv/agetty-serial/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-serial/finish
Executable file
3
usr/lib/runit/sv/agetty-serial/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-serial/run
Executable file
16
usr/lib/runit/sv/agetty-serial/run
Executable file
|
@ -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}"
|
9
usr/lib/runit/sv/agetty-tty1/conf
Executable file
9
usr/lib/runit/sv/agetty-tty1/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty1/finish
Executable file
3
usr/lib/runit/sv/agetty-tty1/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty1/run
Executable file
16
usr/lib/runit/sv/agetty-tty1/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty1/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty1/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty1
|
9
usr/lib/runit/sv/agetty-tty12/conf
Executable file
9
usr/lib/runit/sv/agetty-tty12/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty12/finish
Executable file
3
usr/lib/runit/sv/agetty-tty12/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty12/run
Executable file
16
usr/lib/runit/sv/agetty-tty12/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty12/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty12/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty12
|
9
usr/lib/runit/sv/agetty-tty2/conf
Executable file
9
usr/lib/runit/sv/agetty-tty2/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty2/finish
Executable file
3
usr/lib/runit/sv/agetty-tty2/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty2/run
Executable file
16
usr/lib/runit/sv/agetty-tty2/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty2/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty2/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty2
|
9
usr/lib/runit/sv/agetty-tty3/conf
Executable file
9
usr/lib/runit/sv/agetty-tty3/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty3/finish
Executable file
3
usr/lib/runit/sv/agetty-tty3/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty3/run
Executable file
16
usr/lib/runit/sv/agetty-tty3/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty3/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty3/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty3
|
9
usr/lib/runit/sv/agetty-tty4/conf
Executable file
9
usr/lib/runit/sv/agetty-tty4/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty4/finish
Executable file
3
usr/lib/runit/sv/agetty-tty4/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty4/run
Executable file
16
usr/lib/runit/sv/agetty-tty4/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty4/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty4/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty4
|
9
usr/lib/runit/sv/agetty-tty5/conf
Executable file
9
usr/lib/runit/sv/agetty-tty5/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty5/finish
Executable file
3
usr/lib/runit/sv/agetty-tty5/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty5/run
Executable file
16
usr/lib/runit/sv/agetty-tty5/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty5/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty5/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty5
|
9
usr/lib/runit/sv/agetty-tty6/conf
Executable file
9
usr/lib/runit/sv/agetty-tty6/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-tty6/finish
Executable file
3
usr/lib/runit/sv/agetty-tty6/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-tty6/run
Executable file
16
usr/lib/runit/sv/agetty-tty6/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-tty6/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-tty6/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty6
|
8
usr/lib/runit/sv/agetty-ttyAMA0/conf
Executable file
8
usr/lib/runit/sv/agetty-ttyAMA0/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-ttyAMA0/finish
Executable file
3
usr/lib/runit/sv/agetty-ttyAMA0/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-ttyAMA0/run
Executable file
16
usr/lib/runit/sv/agetty-ttyAMA0/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-ttyAMA0/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-ttyAMA0/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-ttyAMA0
|
8
usr/lib/runit/sv/agetty-ttyS0/conf
Executable file
8
usr/lib/runit/sv/agetty-ttyS0/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-ttyS0/finish
Executable file
3
usr/lib/runit/sv/agetty-ttyS0/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-ttyS0/run
Executable file
16
usr/lib/runit/sv/agetty-ttyS0/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-ttyS0/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-ttyS0/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-ttyS0
|
8
usr/lib/runit/sv/agetty-ttyUSB0/conf
Executable file
8
usr/lib/runit/sv/agetty-ttyUSB0/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/agetty-ttyUSB0/finish
Executable file
3
usr/lib/runit/sv/agetty-ttyUSB0/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
16
usr/lib/runit/sv/agetty-ttyUSB0/run
Executable file
16
usr/lib/runit/sv/agetty-ttyUSB0/run
Executable file
|
@ -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}"
|
1
usr/lib/runit/sv/agetty-ttyUSB0/supervise
Symbolic link
1
usr/lib/runit/sv/agetty-ttyUSB0/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-ttyUSB0
|
3
usr/lib/runit/sv/alsa/finish
Executable file
3
usr/lib/runit/sv/alsa/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
exec alsactl store
|
5
usr/lib/runit/sv/alsa/run
Executable file
5
usr/lib/runit/sv/alsa/run
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
set -e
|
||||
alsactl restore
|
||||
exec chpst -b alsa pause
|
2
usr/lib/runit/sv/apache/finish
Executable file
2
usr/lib/runit/sv/apache/finish
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
httpd -k graceful-stop
|
2
usr/lib/runit/sv/apache/run
Executable file
2
usr/lib/runit/sv/apache/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec httpd -k start -DFOREGROUND
|
2
usr/lib/runit/sv/apcupsd/run
Executable file
2
usr/lib/runit/sv/apcupsd/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec apcupsd -b
|
2
usr/lib/runit/sv/at/run
Executable file
2
usr/lib/runit/sv/at/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec atd -f
|
2
usr/lib/runit/sv/atftp/run
Executable file
2
usr/lib/runit/sv/atftp/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec atftpd --user=atftp.atftp --daemon --no-fork
|
9
usr/lib/runit/sv/auditctl/conf
Normal file
9
usr/lib/runit/sv/auditctl/conf
Normal file
|
@ -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"
|
13
usr/lib/runit/sv/auditctl/finish
Executable file
13
usr/lib/runit/sv/auditctl/finish
Executable file
|
@ -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
|
12
usr/lib/runit/sv/auditctl/run
Executable file
12
usr/lib/runit/sv/auditctl/run
Executable file
|
@ -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
|
2
usr/lib/runit/sv/auditd/run
Executable file
2
usr/lib/runit/sv/auditd/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec auditd -n
|
9
usr/lib/runit/sv/autologin/conf
Executable file
9
usr/lib/runit/sv/autologin/conf
Executable file
|
@ -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
|
3
usr/lib/runit/sv/autologin/finish
Executable file
3
usr/lib/runit/sv/autologin/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
11
usr/lib/runit/sv/autologin/run
Executable file
11
usr/lib/runit/sv/autologin/run
Executable file
|
@ -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}"
|
||||
|
1
usr/lib/runit/sv/autologin/supervise
Symbolic link
1
usr/lib/runit/sv/autologin/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.agetty-tty1
|
6
usr/lib/runit/sv/avahi-daemon/run
Executable file
6
usr/lib/runit/sv/avahi-daemon/run
Executable file
|
@ -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
|
8
usr/lib/runit/sv/backlight/finish
Executable file
8
usr/lib/runit/sv/backlight/finish
Executable file
|
@ -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
|
8
usr/lib/runit/sv/backlight/run
Executable file
8
usr/lib/runit/sv/backlight/run
Executable file
|
@ -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
|
2
usr/lib/runit/sv/bftpd/run
Executable file
2
usr/lib/runit/sv/bftpd/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec bftpd -D
|
3
usr/lib/runit/sv/bluetoothd/run
Executable file
3
usr/lib/runit/sv/bluetoothd/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/lib/bluetooth/bluetoothd -n >/dev/null
|
11
usr/lib/runit/sv/boinc/conf
Normal file
11
usr/lib/runit/sv/boinc/conf
Normal file
|
@ -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}"
|
8
usr/lib/runit/sv/boinc/run
Executable file
8
usr/lib/runit/sv/boinc/run
Executable file
|
@ -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}
|
3
usr/lib/runit/sv/boltd/run
Executable file
3
usr/lib/runit/sv/boltd/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/lib/boltd >dev/null 2>&1
|
3
usr/lib/runit/sv/brltty/run
Executable file
3
usr/lib/runit/sv/brltty/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
mkdir -p /run/brltty || exit 1
|
||||
exec brltty -n
|
2
usr/lib/runit/sv/bumblebeed/run
Executable file
2
usr/lib/runit/sv/bumblebeed/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec bumblebeed --use-syslog
|
3
usr/lib/runit/sv/chrony/run
Executable file
3
usr/lib/runit/sv/chrony/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
install -d -m750 -o chrony -g chrony /run/chrony
|
||||
exec chronyd -n -u chrony
|
2
usr/lib/runit/sv/clamd/run
Executable file
2
usr/lib/runit/sv/clamd/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec clamd --foreground=true
|
2
usr/lib/runit/sv/colord/run
Executable file
2
usr/lib/runit/sv/colord/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u colord /usr/lib/colord 2>&1
|
3
usr/lib/runit/sv/connmand/run
Executable file
3
usr/lib/runit/sv/connmand/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
exec connmand -n ${OPTS}
|
2
usr/lib/runit/sv/consolekit/run
Executable file
2
usr/lib/runit/sv/consolekit/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec console-kit-daemon --no-daemon --debug
|
2
usr/lib/runit/sv/consul/run
Executable file
2
usr/lib/runit/sv/consul/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec consul agent --config-dir=/etc/consul.d
|
2
usr/lib/runit/sv/coturn/run
Executable file
2
usr/lib/runit/sv/coturn/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u turnserver:turnserver turnserver -c /etc/turnserver.conf --pidfile /var/tmp/turnserver.pid
|
15
usr/lib/runit/sv/cpupower/run
Executable file
15
usr/lib/runit/sv/cpupower/run
Executable file
|
@ -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
|
2
usr/lib/runit/sv/cronie/run
Executable file
2
usr/lib/runit/sv/cronie/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec crond -n 2>&1
|
3
usr/lib/runit/sv/cupsd/run
Executable file
3
usr/lib/runit/sv/cupsd/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec cupsd -f
|
12
usr/lib/runit/sv/darkhttpd/conf
Normal file
12
usr/lib/runit/sv/darkhttpd/conf
Normal file
|
@ -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=""
|
5
usr/lib/runit/sv/darkhttpd/log/run
Executable file
5
usr/lib/runit/sv/darkhttpd/log/run
Executable file
|
@ -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
|
3
usr/lib/runit/sv/darkhttpd/run
Executable file
3
usr/lib/runit/sv/darkhttpd/run
Executable file
|
@ -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
|
2
usr/lib/runit/sv/dbus/check
Executable file
2
usr/lib/runit/sv/dbus/check
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec dbus-send --system / org.freedesktop.DBus.Peer.Ping >/dev/null 2>&1
|
6
usr/lib/runit/sv/dbus/log/run
Executable file
6
usr/lib/runit/sv/dbus/log/run
Executable file
|
@ -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
|
5
usr/lib/runit/sv/dbus/run
Executable file
5
usr/lib/runit/sv/dbus/run
Executable file
|
@ -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
|
2
usr/lib/runit/sv/ddclient/run
Executable file
2
usr/lib/runit/sv/ddclient/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec ddclient -foreground
|
2
usr/lib/runit/sv/deluge-web/run
Executable file
2
usr/lib/runit/sv/deluge-web/run
Executable file
|
@ -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 a new issue