busybox: add version and builddate to ssh welcome message

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-28 15:47:20 +01:00
parent 9fdeac736f
commit 342fbbb3d4

View File

@ -44,6 +44,12 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
echo $GREATING3 >> $INSTALL/etc/issue
echo $GREATING4 >> $INSTALL/etc/issue
if [ "$OPENELEC_VERSION" = devel ]; then
echo "$DISTRONAME - Builddate: $BUILD_DATE Build: $GIT_BUILD" >> $INSTALL/etc/issue
else
echo "$DISTRONAME - Builddate: $BUILD_DATE Version: $OPENELEC_VERSION" >> $INSTALL/etc/issue
fi
mkdir -p $INSTALL/etc/modprobe.d
cp $PKG_DIR/modprobe.d/* $INSTALL/etc/modprobe.d