diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/mv-core/runit-scripts-mv | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/mv-core/runit-scripts-mv')
67 files changed, 0 insertions, 998 deletions
diff --git a/abs/mv-core/runit-scripts-mv/PKGBUILD b/abs/mv-core/runit-scripts-mv/PKGBUILD deleted file mode 100755 index b27bed3..0000000 --- a/abs/mv-core/runit-scripts-mv/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -pkgname=runit-scripts -pkgver=1.8.0 -pkgrel=304 -pkgdesc="collection of startup scripts for runit" -url="http://smarden.org/runit/" -license="BSD" -depends=('glibc' 'util-linux' 'initscripts' 'runit' ) -makedepends=('rsync') -conflicts=() -replaces=() -backup=(etc/runit/1.local) -install=runit.install -source=(fbsplash-runit.sh) -arch=('i686') - -build() { - rsync -a --exclude=.svn --exclude=*~ $startdir/runitscripts $startdir/src - cd $startdir/src/runitscripts - install -d $startdir/pkg/etc/ - install -d $startdir/pkg/etc/runit/ - install -d $startdir/pkg/var/service - install -d $startdir/pkg/etc/sv - install -d $startdir/pkg/sbin - install -d $startdir/pkg/etc/rc.d/functions.d - - install -m0700 1 2 3 1.local ctrlaltdel $startdir/pkg/etc/runit - install -m755 $startdir/src/fbsplash-runit.sh $startdir/pkg/etc/rc.d/functions.d/fbsplash-runit.sh - install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin - rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv -} diff --git a/abs/mv-core/runit-scripts-mv/fbsplash-runit.sh b/abs/mv-core/runit-scripts-mv/fbsplash-runit.sh deleted file mode 100755 index aa391b0..0000000 --- a/abs/mv-core/runit-scripts-mv/fbsplash-runit.sh +++ /dev/null @@ -1,27 +0,0 @@ -# fbsplash function.d script # -# Author: Greg Helton <gt@fallendusk.org> # - -# Who is calling? # -CALLER=$0 - -# splash stuff # -. /etc/conf.d/fbsplash.conf -. /sbin/splash-functions.sh - -# Redefine the stat functions # - -stat_runit() { - printf "${C_OTHER}${PREFIX_REG} ${C_MAIN}${1}${C_CLEAR} " - printf "${SAVE_POSITION}" - deltext - printf " ${C_OTHER}[${C_BUSY}BKGD${C_OTHER}]${C_CLEAR} " - # Load variables # - var_load STEP_NR MAX_STEPS RC_MULTI RC_SYSINIT RC_SHUTDOWN - # Only update the splash progress if we're in sysinit, multi, or shutdown. # - ((SPLASH_STEP_NR++)) - SPLASH_PROGRESS=$((100*${SPLASH_STEP_NR}/${SPLASH_MAX_STEPS})) - SPLASH_CURRENT_PROGRESS=${SPLASH_PROGRESS} - splash_update_progress ${SPLASH_PROGRESS} - var_save STEP_NR CURRENT_PROGRESS - -} diff --git a/abs/mv-core/runit-scripts-mv/runit.install b/abs/mv-core/runit-scripts-mv/runit.install deleted file mode 100755 index adaf5ed..0000000 --- a/abs/mv-core/runit-scripts-mv/runit.install +++ /dev/null @@ -1,56 +0,0 @@ -# arg 1: the new package version - -pre_install () { -if [ ! -f /sbin/halt-init ] -then - mv /sbin/halt /sbin/halt-init - rm -f /sbin/reboot - rm -f /sbin/poweroff -fi - -} - -pre_upgrade () { -if [ ! -f /sbin/halt-init ] -then - mv /sbin/halt /sbin/halt-init - rm -f /sbin/reboot - rm -f /sbin/poweroff -fi - -} - -post_install () { - - mkdir /var/service - servicelist="acpid cron frontend lircd ntpd alsa-utils avahi dbus portmap sshd tty2 tty3" - for i in $servicelist - do - ln -s /etc/sv/$i /var/service/$i - done - - ln -s /sbin/halt.script /sbin/halt - ln -s /sbin/reboot.script /sbin/reboot - ln -s /sbin/poweroff.script /sbin/poweroff - ln -s /sbin/halt-init /sbin/reboot.init - ln -s /sbin/halt-init /sbin/poweroff.init - - -} - -# arg 1: the new package version -# arg 2: the old package version - -post_upgrade(){ - ln -s /sbin/halt.script /sbin/halt - ln -s /sbin/reboot.script /sbin/reboot - ln -s /sbin/poweroff.script /sbin/poweroff - ln -s /sbin/halt-init /sbin/reboot.init - ln -s /sbin/halt-init /sbin/poweroff.init - -} - -op=$1 -shift - -$op $* diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/1 b/abs/mv-core/runit-scripts-mv/runitscripts/1 deleted file mode 100755 index 79381ea..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/1 +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -/etc/rc.sysinit -. /etc/rc.conf -. /etc/rc.d/functions -hostname `cat /etc/hostname` -/sbin/sysctl -p 2>/dev/null >/dev/null -#yes it's needed the 2nd time -/usr/MythVantage/bin/load-modules-mythvantage.sh >/dev/null -rm /etc/dhcpc/dhcpcd*.pid 2>/dev/null -rm -f /etc/sv/frontend/.runtime/* 2>/dev/null -rm -f /etc/runit/reboot 2>/dev/null -stat_busy "Starting network" -/etc/net/scripts/network.init start 2>/var/log/network.init.error >/var/log/network.init -stat_done -/usr/sbin/ethtool -s eth0 wol g 2>/dev/null -/usr/sbin/ethtool -s eth1 wol g 2>/dev/null -/usr/sbin/ethtool -s eth2 wol g 2>/dev/null -#user added stuff for level 1 of runit -if [ -e /etc/runit/1.local ] -then - #exec the file - stat_busy /etc/runit/1.local - /etc/runit/1.local - stat_done -fi - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/1.local b/abs/mv-core/runit-scripts-mv/runitscripts/1.local deleted file mode 100755 index f79a0c6..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/1.local +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -#local user startup script, run at the end of runit 1 - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/2 b/abs/mv-core/runit-scripts-mv/runitscripts/2 deleted file mode 100755 index 079b644..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/2 +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -PATH=/bin:/sbin:/usr/bin:/usr/sbin - -#runsvchdir default >/dev/null - -exec env - PATH=$PATH \ -runsvdir -P /var/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................' diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/3 b/abs/mv-core/runit-scripts-mv/runitscripts/3 deleted file mode 100755 index 0fa3abc..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/3 +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# -export PREVLEVEL=3 -/etc/rc.shutdown diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel b/abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel deleted file mode 100755 index 2550d3c..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin -MSG="System is going down in 10 seconds..." - -# echo 'disabled.' ; exit -touch /etc/runit/stopit -chmod 100 /etc/runit/stopit && echo "$MSG" | wall -/bin/sleep 10 diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/halt-runit b/abs/mv-core/runit-scripts-mv/runitscripts/halt-runit deleted file mode 100755 index 7c07b05..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/halt-runit +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -runit-init 0 diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/logger b/abs/mv-core/runit-scripts-mv/runitscripts/logger deleted file mode 100755 index 6888f6f..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/logger +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -svname=$( cd .. && basename $( pwd ) ) -if [ ! -d /var/log/$svname ] -then - mkdir /var/log/$svname - chown root.root /var/log/$svname - chmod 700 /var/log/$svname -fi - -exec /sbin/svlogd -tt /var/log/$svname diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/reboot-runit b/abs/mv-core/runit-scripts-mv/runitscripts/reboot-runit deleted file mode 100755 index be831ec..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/reboot-runit +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -runit-init 6 diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/Xvfb/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/Xvfb/finish deleted file mode 100755 index 14cd831..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/Xvfb/finish +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -. /etc/profile -VIRTUAL_DISPLAY=":50" -Xvfb_parm="$VIRTUAL_DISPLAY -screen 0 800x600x16" -pid=`ps -eaf | grep Xvfb | grep $VIRTUAL_DISPLAY | awk '{print $2}'` - if [ $pid ] - then - kill -9 $pid -# echo $pid -fi -rm -f /tmp/.X${VIRTUAL_DISPLAY}-lock - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/Xvfb/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/Xvfb/run deleted file mode 100755 index 71ffedd..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/Xvfb/run +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -. /etc/profile -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting XVFB" - - -VIRTUAL_DISPLAY=":50" -Xvfb_parm="$VIRTUAL_DISPLAY -screen 0 800x600x16" -Xvfb $Xvfb_parm diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run deleted file mode 100755 index d00b44d..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -#stat_runit "Starting MythBackend logger" -/usr/bin/logger -p info -t acpid - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run deleted file mode 100755 index 80cc65a..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting acpid" -exec /usr/sbin/acpid -f -c /etc/acpi/events >2 /dev/null 1>/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/finish deleted file mode 100755 index d6f3897..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/finish +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -exec 2>&1 -sv down alsa-utils diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run deleted file mode 100755 index fe5e905..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -exec /etc/rc.d/alsa start diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/apache/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/apache/run deleted file mode 100755 index 95d5cc4..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/apache/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Apache" - - -exec /usr/local/apache/bin/httpd -DNO_DETACH diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/avahi/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/avahi/run deleted file mode 100755 index b9b4905..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/avahi/run +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Avahi" - - -exec /usr/sbin/avahi-daemon >/dev/null 2>/dev/null - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run deleted file mode 100755 index 6f95abd..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -if [ ! -e /var/log/certmaster ] -then - mkdir -p /var/log/certmaster -fi -exec /usr/bin/certmaster diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/cron/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/cron/run deleted file mode 100755 index 0894236..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/cron/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Cron" - - -exec 2>&1 -exec /usr/sbin/crond -f >/dev/null 2>/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/dbus/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/dbus/run deleted file mode 100755 index a9af150..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/dbus/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting dbus" - - -exec /usr/bin/dbus-daemon --system --nofork 2>/dev/null >/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/dhcpd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/dhcpd/run deleted file mode 100755 index 38ae40a..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/dhcpd/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting dhcpd" - - -exec /usr/sbin/dhcpd -f &> /var/log/dhcpd.log diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/dnsmasq/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/dnsmasq/run deleted file mode 100755 index f14c51a..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/dnsmasq/run +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting dns services" - - -exec /usr/sbin/dnsmasq -k >/dev/null 2>/dev/null - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/evrouter/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/evrouter/finish deleted file mode 100755 index 5ebda4c..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/evrouter/finish +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -. /etc/profile -which evrouter >/dev/null 2>/dev/null -if [ $? = 0 ] -then - DISPLAY=localhost:50 evrouter -q - rm -rf /tmp/.evrouter* -else - sv down evrouter -fi
\ No newline at end of file diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/evrouter/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/evrouter/run deleted file mode 100755 index 56f7ae6..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/evrouter/run +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -. /etc/profile -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - -which evrouter >/dev/null 2>/dev/null -if [ $? = 0 ] -then - - stat_runit "Starting evrouter" - ps -ef |grep -v grep|grep -q "Xvfb :50" - if [ ! $? = 0 ] - then - sv start Xvfb - fi - - su mythtv -c "DISPLAY=localhost:50 evrouter -c /etc/evrouter.cfg -f /dev/input/event*" -fi - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/finish deleted file mode 100755 index 4836b44..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/finish +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - -grep -q noautologin /proc/cmdline -STATUS=$? -if [ $STATUS = 0 ] -then - chvt 2 -else -chvt 1 -touch /etc/sv/frontend/.runtime/`date +%s` -sleep 0.5 -ps -ef |grep "xinit /etc/X11/Sessions/STB"|grep -v grep|awk ' { print $2 } '|xargs kill 2> /dev/null -cdate=`date` -#numfiles=`/usr/bin/fbd -d "$cdate" -a 10s /etc/sv/frontend/.runtime 2>/dev/null |wc -l` -numfiles=`/usr/bin/file_time_offset.py -s10 -d/etc/sv/frontend/.runtime` - -if [ $numfiles -gt 2 ] -then - sv stop frontend - rm -f /etc/sv/frontend/.runtime/* - printhl " Frontend is not able to start, disabling it." -fi -fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run deleted file mode 100755 index df916cd..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/systemconfig - /usr/bin/logger -p local6.info -t mythfrontend - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/run deleted file mode 100755 index 0c75b96..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/run +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -exec 2>&1 -sv start dbus -sv start hal -grep -q noautologin /proc/cmdline -STATUS=$? -if [ $STATUS = 0 ] -then - sv down frontend - exit 0 -fi -stat_runit "Starting MythVantage frontend" -exec /bin/su - mythtv -l -c STB-start - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/funcd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/funcd/run deleted file mode 100755 index e4f27d0..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/funcd/run +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting func" -if [ ! -e /var/log/func ] -then - mkdir -p /var/log/func -fi -if [ ! -e /var/log/certmaster ] -then - mkdir -p /var/log/certmaster -fi - - -exec /usr/bin/funcd diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ghosd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/ghosd/run deleted file mode 100755 index faf4d59..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ghosd/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting ghosd" -DISPLAY=localhost:0.0 exec /usr/bin/osdServer.pl 5000 diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/gpm/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/gpm/run deleted file mode 100755 index c347c77..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/gpm/run +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting GPM" - - -. /etc/sysconfig/mouse -exec gpm -D -m $MDEVICE -t $PROTOCOL diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/hal/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/hal/run deleted file mode 100755 index a6d5c0e..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/hal/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -svwaitup dbus 2>/dev/null 1>/dev/null -stat_runit "Starting Hal" -exec /usr/sbin/hald --daemon=no --use-syslog 2>/dev/null >/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit-client/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit-client/run deleted file mode 100755 index 520f720..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit-client/run +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh -#----------------------------------------------------------------------------# -# Hobbit client bootup script. # -# # -# This invokes hobbitlaunch, which in turn runs the Hobbit client and any # -# extensions configured. # -# # -# Copyright (C) 2005-2006 Henrik Storner <henrik@hswn.dk> # -# "status" section (C) Scott Smith 2006 # -# # -# This program is released under the GNU General Public License (GPL), # -# version 2. See the file "COPYING" for details. # -# # -#----------------------------------------------------------------------------# -# -# $Id: runclient.sh,v 1.13 2006/07/14 21:25:19 henrik Rel $ -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting hobbit client" -# Default settings for this client -MACHINEDOTS="`uname -n`" # This systems hostname -BBOSTYPE="`uname -s | tr '[A-Z]' '[a-z]'`" # This systems operating system in lowercase -BBOSSCRIPT="hobbitclient-$BBOSTYPE.sh" - -# Commandline mods for the defaults -while test "$1" != "" -do - case "$1" in - --hostname=*) - MACHINEDOTS="`echo $1 | sed -e 's/--hostname=//'`" - ;; - --os=*) - BBOSTYPE="`echo $1 | sed -e 's/--os=//' | tr '[A-Z]' '[a-z]'`" - ;; - --class=*) - CONFIGCLASS="`echo $1 | sed -e 's/--class=//' | tr '[A-Z]' '[a-z]'`" - ;; - --help) - echo "Usage: $0 [--hostname=CLIENTNAME] [--os=rhel3|linux22] [--class=CLASSNAME] start|stop" - exit 0 - ;; - start) - CMD=$1 - ;; - stop) - CMD=$1 - ;; - restart) - CMD=$1 - ;; - status) - CMD=$1 - ;; - esac - - shift -done - -OLDDIR="`pwd`" -cd "`dirname $0`" -HOBBITCLIENTHOME="/data/srv/hobbit/client" -cd "$OLDDIR" - -MACHINE="`echo $MACHINEDOTS | sed -e 's/\./,/g'`" - -export MACHINE MACHINEDOTS BBOSTYPE BBOSSCRIPT HOBBITCLIENTHOME CONFIGCLASS - - -su nobody -c "$HOBBITCLIENTHOME/bin/hobbitlaunch --config=$HOBBITCLIENTHOME/etc/clientlaunch.cfg --log=$HOBBITCLIENTHOME/logs/clientlaunch.log --pidfile=$HOBBITCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid --no-daemon" - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run deleted file mode 100755 index 19b8194..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/hobbit/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting hobbit server" -exec su nobody -c "/data/srv/hobbit/server/bin/hobbitlaunch --config=/data/srv/hobbit/server/etc/hobbitlaunch.cfg --env=/data/srv/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitlaunch.log --pidfile=/var/log/hobbit/hobbitlaunch.pid --no-daemon" diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/igdaemon/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/igdaemon/run deleted file mode 100755 index ea4f33b..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/igdaemon/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting IguanaWorks IR daemon" - - -exec /usr/bin/igdaemon --no-ids -n -l /var/log/igdaemon.log diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/lcdd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/lcdd/run deleted file mode 100755 index da2258b..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/lcdd/run +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -. /etc/systemconfig -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting lcdproc" - - -exec 2>&1 -if [ x$LCDtype = xxosd ] -then - DISPLAY=127.0.0.1:0 /usr/sbin/LCDd -f -c /etc/LCDd.conf 2>/dev/null >/dev/null -else - exec /usr/sbin/LCDd -f -c /etc/LCDd.conf 2>/dev/null >/dev/null -fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/lighttpd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/lighttpd/run deleted file mode 100755 index 798690c..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/lighttpd/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting lighttpd" - - -exec /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish deleted file mode 100755 index 1afc41c..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - -killall -9 lircd 2>/dev/null -rm -f /var/run/lirc*.pid -[ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime -touch /etc/sv/lircd/.runtime/`date +%s` -numfiles=`/usr/bin/file_time_offset.py -s4 -d/etc/sv/lircd/.runtime ` -if [ $numfiles -gt 3 ] -then - rm -f /etc/sv/lircd/.runtime/* 2>/dev/null - sv stop lircd - printhl " lircd is not able to start, disabling it" -fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run deleted file mode 100755 index 769c229..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run +++ /dev/null @@ -1,137 +0,0 @@ -#!/bin/bash - -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - -#since what we do may not be enough -#if your one of those people, this is where you place your stuff - -LOG=/tmp/lirc.log - -if [ -f $LOG ] -then - rm -f $LOG -fi - -if [ -f /etc/runit/lirc.sh ] -then - #program must not terminate. - - stat_runit "Starting lirc" - - /etc/runit/lirc.sh -else - . /etc/systemconfig - stat_runit "Starting lirc" - - [ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime - - function dvico_detect { - if [ x$Remotetype = "xdvico" ] || [ x$Remotetype = "xDvico-Dual-Digital4-rev2" ] - then - RunDvico=true - else - RunDvico=false - fi - } - - num_lirc=`ls -la /dev/lirc[0-9] 2>/dev/null |wc -l ` - num_lirc=$((num_lirc-1)) - - serial_port="" - - if [ x$ReceiverType = xSerial ] - then - serial_port=$ReceiverSerialport - elif [ x$HostBlasterType = xSerial ] - then - serial_port=$HostSerialPort_blasterlirc - fi - - if [ -n "$serial_port" ] - then - #/dev/ttyS0 (COM1), port 0x3f8, irq 4 - #/dev/ttyS1 (COM2), port 0x2f8, irq 3 - #/dev/ttyS2 (COM3), port 0x3e8, irq 4 - #/dev/ttyS3 (COM4), port 0x2e8, irq 3 - - case $serial_port in - ttyS0) - FLAGS="io=0x3f8 irq=4" - ;; - ttyS1) - FLAGS="io=0x2f8 irq=3" - ;; - ttyS2) - FLAGS="io=0x3e8 irq=4" - ;; - ttyS3) - FLAGS="io=0x2e8 irq=3" - ;; - esac - /usr/bin/setserial /dev/serial_port uart none - sleep 0.5 - /sbin/modprobe lirc_serial $FLAGS - sleep 0.5 - fi - - dvico_detect - - if [ x$HostBlasterType = xCommandIR -o x$ReceiverType = xCommandIR ] - then - CMD="/usr/sbin/lircd -n --driver=commandir" - printhl " Using commandir" - $CMD >>$LOG 2>>$LOG -#echo $CMD - elif [ x$HostBlasterType = xiguanaIR-usb -o x$ReceiverType = xiguanaIR-usb ] - then - sv start igdaemon - CMD="/usr/sbin/lircd -n --driver=iguanaIR" - printhl " Using iguanaIR usb" -#echo $CMD - $CMD >>$LOG 2>>$LOG - else - LASTCMD="" - - for i in `seq 1 $num_lirc` - do - CMD="/usr/sbin/lircd -d /dev/lirc$i --output=/dev/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i" - printhl " Device $i" -#echo $CMD - $CMD >>$LOG 2>>$LOG - LASTCMD="--connect=localhost:876$i $LASTCMD " - done - - if [ $RunDvico = "true" ] - then - if [ x$Remotetype = "xdvico" ] - then - LCMD="/usr/sbin/lircd -n -d /dev/usb/dvicoIR --driver=dvico --output /dev/lircd" - else - LCMD="/usr/sbin/lircd -n -d /dev/input/irremote --driver=devinput --output /dev/lircd" - fi - - if [ $num_lirc -lt 0 ] - then - # Only run Dvico - printhl " Device $Remotetype" -#echo $LCMD - exec $LCMD >>$LOG 2>>$LOG - elif [ $num_lirc -gt -1 ] - then - i=$((i+1)) - CMD="$LCMD --output=/dev/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i" - $CMD >> $LOG - LASTCMD="--connect=localhost:876$i $LASTCMD " - printhl " Device Dvico" - /usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd $LASTCMD >>$LOG 2>>$LOG - fi - else - LCMD="/usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd $LASTCMD" -#echo $LCMD - exec $LCMD >>$LOG 2>>$LOG - fi - fi -fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/mdadm/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/mdadm/finish deleted file mode 100755 index 92782ba..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/mdadm/finish +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash
-#
-# Stop Monitoring software raid arrays
-exec 2>&1
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /sbin/mdadm`
- stat_runit "Stopping mdadm RAID Monitor"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon mdadm
- stat_done
- fi
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/mdadm/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/mdadm/run deleted file mode 100755 index 0ab432e..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/mdadm/run +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash
-#
-# Start Monitoring software raid arrays
-exec 2>&1
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /sbin/mdadm`
- stat_runit "Starting mdadm RAID Monitor"
- if [ -z "$PID" ]; then
- /sbin/mdadm -F -s
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon mdadm
- stat_done
- fi
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/mysql/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/mysql/run deleted file mode 100755 index 6b2f95a..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/mysql/run +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Mysql" - -MYSQLD_ROOT="/data/srv/mysql" -# source application-specific settings -[ -f /etc/conf.d/mysqld ] && . /etc/conf.d/mysqld -if [ ! `egrep '^mysql:' /etc/group` ]; then - stat_runit "Adding mysql group" - groupadd -g 89 mysql - -fi -if [ ! `egrep '^mysql:' /etc/passwd` ]; then - stat_runit "Adding mysql user" - useradd -u 89 -g mysql -d $MYSQLD_ROOT -s /bin/false mysql - [ -d $MYSQLD_ROOT ] && chown -R mysql.mysql $MYSQLD_ROOT - -fi - -if [ ! -d $MYSQLD_ROOT ]; then - mkdir -p $MYSQLD_ROOT - /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null 1>/dev/null - chown -R mysql.mysql $MYSQLD_ROOT -fi - -if [ ! -e /var/log/mysqld.log ]; then - touch /var/log/mysqld.log - chown mysql /var/log/mysqld.log -fi - -exec /usr/sbin/mysqld --skip-name-resolve -u mysql 2>/dev/null >/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/mythbackend/log/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/mythbackend/log/run deleted file mode 100755 index 6ed5184..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/mythbackend/log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -exec 2>&1 - /usr/bin/logger -p local7.info -t mythbackend - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/mythbackend/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/mythbackend/run deleted file mode 100755 index 692e7db..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/mythbackend/run +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -exec 2>&1 -. /etc/profile -. /etc/systemconfig -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - -export HOME=/root -if [ ! x$SystemType = xSlave_backend ] -then - sv start mysql > /dev/null 2>/dev/null - #run mythfilldatabase - /usr/MythVantage/bin/initial_db_run & -fi -mkfifo /tmp/mbefifo >/dev/null 2>/dev/null -echo "Starting mythbackend" - if [ -f /tmp/debug ] - then - echo "using gbd/debug" - gdb /usr/bin/mythbackend -x $MV_ROOT/mbegdbcommands.txt - bash -c "osdClient.pl localhost 5000 'Restart gdb mbe :::SYS' "& - mv gdb.txt /data/home/mythtv/gdb.txt.mythbackend - chown mythtv:mythtv /data/home/mythtv/gdb.txt.mythbackend - sleep 10 - - else - exec /usr/bin/mythbackend - fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncid/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/ncid/finish deleted file mode 100644 index 953a4a1..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncid/finish +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -exec 2>&1 -which ncid 2>/dev/null >/dev/null -if [ ! $? = 0 ] -then - sv down ncid -fi - - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncid/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/ncid/run deleted file mode 100755 index 44154c7..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncid/run +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - - -which ncid 2>/dev/null >/dev/null - -if [ $? = 0 ] -then - if [ -f /var/service/ncidd/run ] - then - sv start ncidd - fi - - stat_runit "Starting callerid client" - - exec /usr/bin/ncid --no-gui --all --call-prog --program /usr/bin/ncid.py 127.0.0.1 3333 -fi - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncidd/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/ncidd/finish deleted file mode 100644 index ab39d39..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncidd/finish +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -exec 2>&1 -which ncidd 2>/dev/null >/dev/null -if [ ! $? = 0 ] -then - sv down ncid -fi - - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncidd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/ncidd/run deleted file mode 100755 index 6fff089..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ncidd/run +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions - -which ncidd > /dev/null 2>/dev/null -if [ $? = 0 ] -then - stat_runit "Starting CallerID" - - exec /usr/sbin/ncidd -D 2>&1 -fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/netfs/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/netfs/finish deleted file mode 100755 index 43be94c..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/netfs/finish +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -exec 2>&1 -sv down netfs diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/netfs/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/netfs/run deleted file mode 100755 index 28388b9..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/netfs/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -exec 2>&1 -sv start portmap -sv start nfslock -/etc/rc.d/netfs start - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run deleted file mode 100755 index 9665066..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting NFSD" - -# Make sure the statd daemon is up -# (the statd service must ensure portmap is running first) -svwaitup /var/service/nfslock >/dev/null 2>/dev/null - -source /etc/conf.d/nfs - -# Re-export all directories in /etc/exports -/usr/sbin/exportfs -ra > /dev/null 2>/dev/null - -# start some nfsd threads -printhl " Using ${NFSD_OPTS} " -/usr/sbin/rpc.nfsd ${NFSD_OPTS} >/dev/null 2>/dev/null - -# since we are running kernel 2.6 we should also -# mount the nfsd virtual filesystem -printhl " mount nfsd" -/bin/mount -t nfsd none /proc/fs/nfsd >/dev/null 2>/dev/null - -# Start the rpc.mountd daemon - -exec /usr/sbin/rpc.mountd --foreground >/dev/null 2>/dev/null - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run deleted file mode 100755 index 8d627ad..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting NFSlock" -svwaitup portmap >/dev/null 2>/dev/null -/usr/sbin/rpc.statd -F >/dev/null 2>/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/nmbd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/nmbd/run deleted file mode 100755 index 9ed032b..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/nmbd/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting NMBD" - - -exec nmbd -F -S -d1 2>/dev/null >/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run deleted file mode 100755 index 146c4e0..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting NTPD" -printhl " Fetching time" -msg=`/usr/bin/ntpdate pool.ntp.org ` -printhl " $msg" - -exec /usr/bin/ntpd -n -p /var/run/ntpd.pid 2>/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/oss/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/oss/finish deleted file mode 100755 index f929f39..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/oss/finish +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -exec 2>&1 -sv down oss - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/oss/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/oss/run deleted file mode 100755 index fe26e3f..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/oss/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -rm -f /usr/lib/oss/starting -#exec /etc/rc.d/alsa-utils start all -exec /usr/sbin/soundon - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/portmap/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/portmap/run deleted file mode 100755 index 9e708e6..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/portmap/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting portmap" -exec /sbin/portmap -d >/dev/null 2>/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/finish deleted file mode 100755 index 7b77994..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/finish +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - - . /etc/rc.conf - . /etc/rc.d/functions - - stat_runit "Stopping smartd" - kill -9 `pidof /usr/sbin/smartd` &>/dev/null - rm_daemon smartd - stat_done diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run deleted file mode 100755 index f3f3bf8..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting smartd" -/usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null -if [ $? -ne 0 ] -then - stat_fail -else - add_daemon smartd - stat_done -fi diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/smbd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/smbd/run deleted file mode 100755 index b4a545b..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/smbd/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Samba" - - -exec smbd -F -S -d3 2>/dev/null >/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/sshd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/sshd/run deleted file mode 100755 index fc22e3b..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/sshd/run +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting SSH" - -[ -f /etc/ssh/ssh_host_key ] || { /usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key >/dev/null; } - [ -f /etc/ssh/ssh_host_rsa_key ] || { /usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key >/dev/null; } - [ -f /etc/ssh/ssh_host_dsa_key ] || { /usr/bin/ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key >/dev/null; } - - -exec /usr/sbin/sshd -D >/dev/null 2>/dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/syslog-ng/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/syslog-ng/run deleted file mode 100755 index 8633a77..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/syslog-ng/run +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting syslog" - - -exec /usr/sbin/syslog-ng -F - diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/tatir/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/tatir/run deleted file mode 100755 index d6fc863..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/tatir/run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting tatir" - - -exec /usr/bin/PyroUsb.py > /dev/null diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/tftpd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/tftpd/run deleted file mode 100755 index 8f742ca..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/tftpd/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting tftpd" - - -exec /usr/sbin/in.tftpd --foreground -s /tftpboot diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/tty2/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/tty2/run deleted file mode 100755 index 8db2924..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/tty2/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Agetty 2" - -exec /sbin/agetty 38400 vc/2 linux diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/tty3/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/tty3/run deleted file mode 100755 index bdbec66..0000000 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/tty3/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting Agetty 3" -exec /sbin/agetty 38400 vc/3 linux |