2006-04-03 17:01:43 +02:00
|
|
|
#!/bin/sh
|
2011-07-20 16:01:45 +02:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2006-10-25 15:40:36 +02:00
|
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
2011-07-30 13:14:00 +02:00
|
|
|
PROTO=${1:-proto}
|
|
|
|
sed -n '1,/@ACPI/p' <${PROTO} | grep -v @ACPI@
|
2010-09-02 17:44:36 +02:00
|
|
|
if [ -e acpi ]
|
|
|
|
then
|
|
|
|
echo " acpi ---755 0 0 acpi"
|
|
|
|
fi
|
2011-07-30 13:14:00 +02:00
|
|
|
sed -n '/@ACPI/,/@DEV/p' <${PROTO} | grep -v -e @ACPI@ -e @DEV@
|
2012-06-15 16:13:12 +02:00
|
|
|
cat proto.dev
|
2011-07-30 13:14:00 +02:00
|
|
|
sed -n '/@DEV/,$p' <${PROTO} | grep -v @DEV@
|
2012-04-10 04:07:51 +02:00
|
|
|
cat proto.common.etc
|
|
|
|
if [ -x /libexec/ld.elf_so ]
|
|
|
|
then cat proto.common.dynamic
|
|
|
|
fi
|
|
|
|
echo '$'
|