mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Adding two MOTD, one for before repair, one that is moved in after repair is successful.
This commit is contained in:
parent
0784f740bb
commit
2dd243230f
5 changed files with 49 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ cp /opt/wrolpi/etc/raspberrypios/wrolpi-*.service /etc/systemd/system/
|
|||
cp /opt/wrolpi/etc/raspberrypios/wrolpi.target /etc/systemd/system/
|
||||
cp /opt/wrolpi/etc/raspberrypios/renderd.conf /etc/renderd.conf
|
||||
|
||||
cp /opt/wrolpi/etc/raspberrypios/motd_first /etc/motd
|
||||
|
||||
# NetworkManager for the hotspot.
|
||||
systemctl enable NetworkManager
|
||||
|
||||
|
|
|
|||
18
etc/raspberrypios/motd
Normal file
18
etc/raspberrypios/motd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
individual files in /usr/share/doc/*/copyright.
|
||||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
|
||||
██╗ ██╗██████╗ ██████╗ ██╗ ██████╗ ██╗
|
||||
██║ ██║██╔══██╗██╔═══██╗██║ ██╔══██╗ ║
|
||||
██║ █╗ ██║██████╔╝██║ ██║██║ ██████╔╝██
|
||||
██║███╗██║██╔══██╗██║ ██║██║ ██╔═══╝ ██║
|
||||
╚███╔███╔╝██║ ██║╚██████╔╝███████╗██║ ██║
|
||||
╚══╝╚══╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝
|
||||
|
||||
Run the help script to find potential problems:
|
||||
/opt/wrolpi/help.sh
|
||||
|
||||
Help documentation is available here: /opt/wrolpi-help/docs
|
||||
24
etc/raspberrypios/motd_first
Normal file
24
etc/raspberrypios/motd_first
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
individual files in /usr/share/doc/*/copyright.
|
||||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
|
||||
██╗ ██╗██████╗ ██████╗ ██╗ ██████╗ ██╗
|
||||
██║ ██║██╔══██╗██╔═══██╗██║ ██╔══██╗ ║
|
||||
██║ █╗ ██║██████╔╝██║ ██║██║ ██████╔╝██
|
||||
██║███╗██║██╔══██╗██║ ██║██║ ██╔═══╝ ██║
|
||||
╚███╔███╔╝██║ ██║╚██████╔╝███████╗██║ ██║
|
||||
╚══╝╚══╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝
|
||||
|
||||
Welcome to your new WROLPi! Follow the steps below to finish the setup:
|
||||
|
||||
1. If you have an external drive, mount it to /media/wrolpi
|
||||
2. Run the repair script: /opt/wrolpi/repair.sh
|
||||
3. Refresh your files in the UI at https://wrolpi.local or https://127.0.0.1
|
||||
|
||||
Run the help script to find potential problems:
|
||||
/opt/wrolpi/help.sh
|
||||
|
||||
Help documentation is available here: /opt/wrolpi-help/docs
|
||||
|
|
@ -51,6 +51,8 @@ cp /opt/wrolpi/etc/raspberrypios/wrolpi.target /etc/systemd/system/
|
|||
# Enable first startup script.
|
||||
systemctl enable wrolpi-first-startup.service
|
||||
|
||||
cp /opt/wrolpi/etc/raspberrypios/motd_first /etc/motd
|
||||
|
||||
# NetworkManager for the hotspot.
|
||||
systemctl enable NetworkManager
|
||||
|
||||
|
|
|
|||
|
|
@ -137,6 +137,9 @@ chown wrolpi:wrolpi /media/wrolpi
|
|||
|
||||
chown -R wrolpi:wrolpi /home/wrolpi /opt/wrolpi*
|
||||
|
||||
# Copy MOTD once the repair has been successful.
|
||||
cp /opt/wrolpi/etc/raspberrypios/motd /etc/motd
|
||||
|
||||
systemctl restart wrolpi-help
|
||||
systemctl start wrolpi.target
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue