7edce33927
- Fix login prompt: 'RedBear login:' → 'Red Bear login:' (consistent branding) - exec-root-bypass: check both ruid and euid for root bypass (Linux checks effective UID) - netdb-retry: remove dead variables, check send() return on retry, clarify timeout comment
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff --git a/res/issue b/res/issue
|
|
index 6a963d8..59ffbd4 100644
|
|
--- a/res/issue
|
|
+++ b/res/issue
|
|
@@ -1,6 +1,6 @@
|
|
-########## Redox OS ##########
|
|
-# Login with the following: #
|
|
-# `user` #
|
|
-# `root`:`password` #
|
|
-##############################
|
|
+########## Red Bear OS #########
|
|
+# Login with the following: #
|
|
+# `user` #
|
|
+# `root`:`password` #
|
|
+################################
|
|
|
|
diff --git a/res/motd b/res/motd
|
|
index 5cd097a..dc28b04 100644
|
|
--- a/res/motd
|
|
+++ b/res/motd
|
|
@@ -1,2 +1,2 @@
|
|
-Welcome to Redox OS!
|
|
+Welcome to Red Bear OS!
|
|
|
|
diff --git a/src/bin/login.rs b/src/bin/login.rs
|
|
index 08e178c..f7f337a 100644
|
|
--- a/src/bin/login.rs
|
|
+++ b/src/bin/login.rs
|
|
@@ -135,7 +135,7 @@ pub fn main() {
|
|
loop {
|
|
let user = liner::Context::new()
|
|
.read_line(
|
|
- liner::Prompt::from("\x1B[1mredox login:\x1B[0m "),
|
|
+ liner::Prompt::from("\x1B[1mRed Bear login:\x1B[0m "),
|
|
None,
|
|
&mut liner::BasicCompleter::new(Vec::<String>::new()),
|
|
)
|