forked from Sysdeploy/ipxe_scripts
Fix sed command line arguments
This commit is contained in:
parent
7bba9f8d84
commit
f552011aed
|
@ -38,10 +38,10 @@ function sed_enabled_ipxe_features() {
|
|||
NTP_CMD \
|
||||
CERT_CMD
|
||||
do
|
||||
sed -ri \
|
||||
sed -i -r \
|
||||
"s/^\\/+#define[[:space:]]+$OPTION[[:space:]]/#define $OPTION /g" \
|
||||
"${ipxe_src_dir}/src/config/general.h"
|
||||
sed -ri
|
||||
sed -i -r \
|
||||
"s/^#undef[[:space:]]+$OPTION[[:space:]]/#define $OPTION /g" \
|
||||
"${ipxe_src_dir}/src/config/general.h"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user