aboutsummaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
Diffstat (limited to 'initrd')
-rw-r--r--initrd/calc8
-rw-r--r--initrd/init11
2 files changed, 8 insertions, 11 deletions
diff --git a/initrd/calc b/initrd/calc
deleted file mode 100644
index 7359f16..0000000
--- a/initrd/calc
+++ /dev/null
@@ -1,8 +0,0 @@
-while (1) {
- print("> ")
- input = gets()
- answer = solve(input)
- print("\n")
- print(answer)
- print("\n")
-}
diff --git a/initrd/init b/initrd/init
index 13e5876..7359f16 100644
--- a/initrd/init
+++ b/initrd/init
@@ -1,3 +1,8 @@
-choice = filemenu
-print("\nChoice: ")
-print(choice)
+while (1) {
+ print("> ")
+ input = gets()
+ answer = solve(input)
+ print("\n")
+ print(answer)
+ print("\n")
+}