mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 06:57:50 +00:00
busybox:
- move /etc/sysconfig to /etc/profile
This commit is contained in:
parent
222856494a
commit
4f2c4be19c
@ -23,8 +23,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
|
|||||||
ln -sf /bin/sh $INSTALL/bin/bash
|
ln -sf /bin/sh $INSTALL/bin/bash
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
cp $PKG_DIR/config/sysconfig $INSTALL/etc
|
cp $PKG_DIR/config/profile $INSTALL/etc
|
||||||
cp $PKG_DIR/config/sysconfig $INSTALL/etc/profile
|
|
||||||
touch $INSTALL/etc/fstab
|
touch $INSTALL/etc/fstab
|
||||||
ln -sf /var/run/resolv.conf $INSTALL/etc/resolv.conf
|
ln -sf /var/run/resolv.conf $INSTALL/etc/resolv.conf
|
||||||
ln -sf /var/run/hosts $INSTALL/etc/hosts
|
ln -sf /var/run/hosts $INSTALL/etc/hosts
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# read config
|
# read config
|
||||||
. /etc/sysconfig
|
. /etc/profile
|
||||||
|
|
||||||
# getting runlevel
|
# getting runlevel
|
||||||
RUNLEVEL="openelec"
|
RUNLEVEL="openelec"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user