- move /etc/sysconfig to /etc/profile
This commit is contained in:
Stephan Raue 2010-03-25 10:18:27 +01:00
parent 222856494a
commit 4f2c4be19c
3 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
ln -sf /bin/sh $INSTALL/bin/bash
mkdir -p $INSTALL/etc
cp $PKG_DIR/config/sysconfig $INSTALL/etc
cp $PKG_DIR/config/sysconfig $INSTALL/etc/profile
cp $PKG_DIR/config/profile $INSTALL/etc
touch $INSTALL/etc/fstab
ln -sf /var/run/resolv.conf $INSTALL/etc/resolv.conf
ln -sf /var/run/hosts $INSTALL/etc/hosts

View File

@ -1,7 +1,7 @@
#!/bin/sh
# read config
. /etc/sysconfig
. /etc/profile
# getting runlevel
RUNLEVEL="openelec"