mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
busybox: remove old init system
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0dee2e9df0
commit
5abd5e113b
@ -44,9 +44,6 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
|
|||||||
cp $PKG_DIR/scripts/pastebinit $INSTALL/usr/bin/
|
cp $PKG_DIR/scripts/pastebinit $INSTALL/usr/bin/
|
||||||
ln -sf pastebinit $INSTALL/usr/bin/paste
|
ln -sf pastebinit $INSTALL/usr/bin/paste
|
||||||
|
|
||||||
mkdir -p $INSTALL/sbin
|
|
||||||
cp $PKG_DIR/scripts/init $INSTALL/sbin/
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
cp $PKG_DIR/config/profile $INSTALL/etc
|
cp $PKG_DIR/config/profile $INSTALL/etc
|
||||||
cp $PKG_DIR/config/inputrc $INSTALL/etc
|
cp $PKG_DIR/config/inputrc $INSTALL/etc
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
if [ -f /etc/oem.conf ]; then
|
|
||||||
. /etc/oem.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
. /etc/profile
|
|
||||||
|
|
||||||
# showing version
|
|
||||||
lsb_release
|
|
||||||
|
|
||||||
# starting init scripts for wanted runlevel
|
|
||||||
progress "Starting Init Scripts"
|
|
||||||
RET=0
|
|
||||||
|
|
||||||
for script in /etc/init.d/*; do
|
|
||||||
if grep -q -e "^# runlevels:.*$RUNLEVEL" $script; then
|
|
||||||
. $script
|
|
||||||
S_RET=$?
|
|
||||||
test $S_RET -ge $RET && RET=$S_RET
|
|
||||||
fi
|
|
||||||
done
|
|
Loading…
x
Reference in New Issue
Block a user