FDS/OS 1.0

This commit is contained in:
2026-09-21 22:29:23 +08:00
commit 99bc3d15c5
430 changed files with 34876 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# English UTF-8 by default. Interactive shells are userspace, never PID 1.
export PATH=/usr/bin:/bin
export LANG=en_US.UTF-8
export TZ=UTC
umask 022
for f in /etc/profile.d/*.sh; do
[ ! -r "$f" ] || . "$f"
done
unset f
case $- in
*i*)
PS1='FDS# '
if [ "${UID:-}" = 0 ] && [ "$(cat /usr/share/fds/image-profile)" = recovery ]; then
PS1='RECOVERY# '
/usr/bin/fds-boottrace mark console-ready || true
fi
if [ "${UID:-}" = 1000 ]; then
PS1='FDS> '
_fds_first_prompt() {
/usr/bin/fds-boottrace mark console-ready || true
printf '\nREADY.\n'
unset PROMPT_COMMAND
unset -f _fds_first_prompt
}
PROMPT_COMMAND=_fds_first_prompt
fi
;;
esac