瀏覽代碼

[cmdline] Make "reboot" command available by default

Requested-by: Sven Dreyer <sven@dreyer-net.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年之前
父節點
當前提交
b0d65b5f0c
共有 2 個檔案被更改,包括 8 行新增6 行删除
  1. 2
    0
      src/config/defaults/pcbios.h
  2. 6
    6
      src/config/general.h

+ 2
- 0
src/config/defaults/pcbios.h 查看文件

@@ -34,4 +34,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
34 34
 #define	SANBOOT_PROTO_IB_SRP	/* Infiniband SCSI RDMA protocol */
35 35
 #define	SANBOOT_PROTO_FCP	/* Fibre Channel protocol */
36 36
 
37
+#define	REBOOT_CMD		/* Reboot command */
38
+
37 39
 #endif /* CONFIG_DEFAULTS_PCBIOS_H */

+ 6
- 6
src/config/general.h 查看文件

@@ -120,12 +120,12 @@ FILE_LICENCE ( GPL2_OR_LATER );
120 120
 #define DHCP_CMD		/* DHCP management commands */
121 121
 #define SANBOOT_CMD		/* SAN boot commands */
122 122
 #define LOGIN_CMD		/* Login command */
123
-#undef	TIME_CMD		/* Time commands */
124
-#undef	DIGEST_CMD		/* Image crypto digest commands */
125
-#undef	LOTEST_CMD		/* Loopback testing commands */
126
-#undef	VLAN_CMD		/* VLAN commands */
127
-#undef	PXE_CMD			/* PXE commands */
128
-#undef	REBOOT_CMD		/* Reboot command */
123
+//#define TIME_CMD		/* Time commands */
124
+//#define DIGEST_CMD		/* Image crypto digest commands */
125
+//#define LOTEST_CMD		/* Loopback testing commands */
126
+//#define VLAN_CMD		/* VLAN commands */
127
+//#define PXE_CMD		/* PXE commands */
128
+//#define REBOOT_CMD		/* Reboot command */
129 129
 
130 130
 /*
131 131
  * ROM-specific options

Loading…
取消
儲存