Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147824963
D50589.1784481871.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
415 B
Referenced Files
None
Subscribers
None
D50589.1784481871.diff
View Options
diff --git a/stand/kboot/kboot/main.c b/stand/kboot/kboot/main.c
--- a/stand/kboot/kboot/main.c
+++ b/stand/kboot/kboot/main.c
@@ -655,3 +655,15 @@
COMMAND_SET(fdt, "fdt", "flattened device tree handling", command_fdt);
#endif
+
+/*
+ * Support quitting.
+ */
+static int
+command_quit(int argc, char *argv[])
+{
+ exit(0);
+ return (CMD_OK);
+}
+
+COMMAND_SET(quit, "quit", "exit the program", command_quit);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 5:24 PM (6 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29199303
Default Alt Text
D50589.1784481871.diff (415 B)
Attached To
Mode
D50589: kboot: Create quit command
Attached
Detach File
Event Timeline
Log In to Comment