diff --git a/sys/i386/acpica/genwakecode.sh b/sys/i386/acpica/genwakecode.sh index 6db192e914a..e61f62cef4b 100644 --- a/sys/i386/acpica/genwakecode.sh +++ b/sys/i386/acpica/genwakecode.sh @@ -1,17 +1,7 @@ #!/bin/sh # $FreeBSD$ # -echo 'static char wakecode[] = {'; -hexdump -Cv acpi_wakecode.bin | \ - sed -e 's/^[0-9a-f][0-9a-f]*//' -e 's/\|.*$//' | \ - while read line - do - for code in ${line} - do - echo -n "0x${code},"; - done - done -echo '};' +file2c 'static char wakecode[] = {' '};'