mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
busybox: link /etc/hostname to /proc/sys/kernel/hostname
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
345f9a3b8d
commit
a0dc5ead21
@ -59,7 +59,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
|
|||||||
ln -sf /proc/self/mounts $INSTALL/etc/mtab
|
ln -sf /proc/self/mounts $INSTALL/etc/mtab
|
||||||
|
|
||||||
# create /etc/hostname
|
# create /etc/hostname
|
||||||
echo $HOSTNAME > $INSTALL/etc/hostname
|
ln -sf /proc/sys/kernel/hostname $INSTALL/etc/hostname
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/modprobe.d
|
mkdir -p $INSTALL/etc/modprobe.d
|
||||||
cp $PKG_DIR/modprobe.d/* $INSTALL/etc/modprobe.d
|
cp $PKG_DIR/modprobe.d/* $INSTALL/etc/modprobe.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user