Updates on the bundle boot messages.
This commit is contained in:
parent
636173632a
commit
090cc988b2
@ -1,9 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cat << CEOF
|
|
||||||
|
|
||||||
Starting Dropbear SSH server.
|
|
||||||
|
|
||||||
CEOF
|
|
||||||
|
|
||||||
dropbear
|
dropbear
|
||||||
|
|
||||||
|
cat << CEOF
|
||||||
|
[1m Dropbear SSH server has been started.[0m
|
||||||
|
CEOF
|
||||||
|
@ -1,22 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# This sample command loads German keyboard layout on boot.
|
# The default keyboard which is set on boot.
|
||||||
#
|
loadkeys de
|
||||||
# loadkeys de
|
|
||||||
|
|
||||||
cat << CEOF
|
cat << CEOF
|
||||||
|
[1m The default keyboard layout is English (US). You can change the keyboard
|
||||||
The default keyboard layout is English (US). You can
|
layout to German (for example) like this:
|
||||||
change the keyboard layout to German like this:
|
|
||||||
|
|
||||||
loadkeys de
|
loadkeys de
|
||||||
|
|
||||||
You can go back to the original US keyboard layout
|
You can go back to the original US keyboard layout like this:
|
||||||
like this:
|
|
||||||
|
|
||||||
loadkeys us
|
loadkeys us
|
||||||
|
|
||||||
Alternatively, change the file '90_kbd.sh' in the
|
Alternatively, change the file '90_kbd.sh' in the 'kbd' bundle and set the
|
||||||
'kbd' bundle and set the layout you want to use.
|
keyboard layout you want to use on boot.[0m
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
|
9
src/minimal_overlay/bundles/mll_source/90_src.sh
Executable file
9
src/minimal_overlay/bundles/mll_source/90_src.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This sample command loads German keyboard layout on boot.
|
||||||
|
#
|
||||||
|
# loadkeys de
|
||||||
|
|
||||||
|
cat << CEOF
|
||||||
|
[1m You can find all sources in '/usr/src'.[0m
|
||||||
|
CEOF
|
@ -10,6 +10,7 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
|
|||||||
rm -rf $DEST_DIR
|
rm -rf $DEST_DIR
|
||||||
|
|
||||||
mkdir -p $DEST_DIR/usr/src
|
mkdir -p $DEST_DIR/usr/src
|
||||||
|
mkdir -p $DEST_DIR/etc/autorun
|
||||||
|
|
||||||
# Copy all source files and folders to 'work/src'.
|
# Copy all source files and folders to 'work/src'.
|
||||||
cp $MAIN_SRC_DIR/*.sh $DEST_DIR/usr/src
|
cp $MAIN_SRC_DIR/*.sh $DEST_DIR/usr/src
|
||||||
@ -20,6 +21,8 @@ cp -r $MAIN_SRC_DIR/minimal_rootfs $DEST_DIR/usr/src
|
|||||||
cp -r $MAIN_SRC_DIR/minimal_overlay $DEST_DIR/usr/src
|
cp -r $MAIN_SRC_DIR/minimal_overlay $DEST_DIR/usr/src
|
||||||
cp -r $MAIN_SRC_DIR/minimal_config $DEST_DIR/usr/src
|
cp -r $MAIN_SRC_DIR/minimal_config $DEST_DIR/usr/src
|
||||||
|
|
||||||
|
cp $SRC_DIR/90_src.sh $DEST_DIR/etc/autorun
|
||||||
|
|
||||||
cd $DEST_DIR/usr/src
|
cd $DEST_DIR/usr/src
|
||||||
|
|
||||||
# Delete the '.gitignore' files which we use in order to keep track of otherwise
|
# Delete the '.gitignore' files which we use in order to keep track of otherwise
|
||||||
@ -30,6 +33,9 @@ find * -type f -name '.gitignore' -exec rm {} +
|
|||||||
# '$OVERLAY_ROOTFS' will be overwritten correctly.
|
# '$OVERLAY_ROOTFS' will be overwritten correctly.
|
||||||
cp -r --remove-destination $DEST_DIR/* \
|
cp -r --remove-destination $DEST_DIR/* \
|
||||||
$OVERLAY_ROOTFS
|
$OVERLAY_ROOTFS
|
||||||
|
cp -r --remove-destination $DEST_DIR/* \
|
||||||
|
$OVERLAY_ROOTFS
|
||||||
|
|
||||||
|
|
||||||
echo "Bundle '$BUNDLE_NAME' has been installed."
|
echo "Bundle '$BUNDLE_NAME' has been installed."
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cat << CEOF
|
|
||||||
|
|
||||||
Starting 'nweb' on port 80. Serving '/srv/www'.
|
|
||||||
|
|
||||||
CEOF
|
|
||||||
|
|
||||||
nweb 80 /srv/www
|
nweb 80 /srv/www
|
||||||
|
|
||||||
|
cat << CEOF
|
||||||
|
[1m 'nweb' has been started on port 80, serving '/srv/www'.[0m
|
||||||
|
CEOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user