mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
18 lines
478 B
Bash
Executable file
18 lines
478 B
Bash
Executable file
#!/bin/sh
|
|
# this is run when "iopr -r" is executed.
|
|
# intended to just show what environment is actually started.
|
|
|
|
cat /etc/banner
|
|
|
|
echo "/tmp/oldroot:"
|
|
echo " Contains the running root filesystem. It is live so files are in use"
|
|
echo " Anything copying/reading files from there needs to make sure it is done safely."
|
|
echo ""
|
|
|
|
Color_Off='\033[0m' # Text Reset
|
|
Red='\033[0;31m' # Red
|
|
|
|
PS1="${Red}chroot_new${Color_Off}:\w\#"
|
|
export PS1
|
|
export Red
|
|
export Color_Off
|