Browse Source

Added BURROW motd

master
B.J. Dweck 1 year ago
parent
commit
052631361a
4 changed files with 29 additions and 0 deletions
  1. +1
    -0
      stage2/06-rudefox-motd/00-packages
  2. +8
    -0
      stage2/06-rudefox-motd/01-run.sh
  3. +9
    -0
      stage2/06-rudefox-motd/files/10-rudefox-header
  4. +11
    -0
      stage2/06-rudefox-motd/files/30-rudefox-instructions

+ 1
- 0
stage2/06-rudefox-motd/00-packages View File

@ -0,0 +1 @@
toilet figlet

+ 8
- 0
stage2/06-rudefox-motd/01-run.sh View File

@ -0,0 +1,8 @@
#!/bin/bash -e
rm -rf "${ROOTFS_DIR}/etc/motd"
rm -rf "${ROOTFS_DIR}/etc/update-motd.d/"*
install -m 755 files/* "${ROOTFS_DIR}/etc/update-motd.d/"
echo "" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"
echo "PS1=\"\[\e[31m\]Burrow>\[\e[m\] \"" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"

+ 9
- 0
stage2/06-rudefox-motd/files/10-rudefox-header View File

@ -0,0 +1,9 @@
#!/bin/bash
THIS_SCRIPT="header"
MOTD_DISABLE=""
toilet -f standard -F metal Burrow
printf '\nWelcome to RudeFox Burrow!\n'
printf '\n'

+ 11
- 0
stage2/06-rudefox-motd/files/30-rudefox-instructions View File

@ -0,0 +1,11 @@
#!/bin/bash
echo ""
echo "======================================================="
echo "=== TYPE: "
echo "=== rudefox-cold mnemonic -i8b 256 "
echo "=== "
echo "=== to generate a new 24-word seed "
echo "======================================================="
echo ""
echo ""

Loading…
Cancel
Save