123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #!/bin/sh
- . ./libdeblob.sh
- PATCH_DIR=/tmp/sys_rebrand
- if [ -e $PATCH_DIR ]
- then
- self_destruct_sequence $PATCH_DIR
- else
- mkdir $PATCH_DIR
- fi
- if test -z $1
- then
- SRC_DIR=/usr/src/sys
- else
- SRC_DIR=$1
- fi
- arch_list="amd64 i386"
- for arch in $arch_list
- do
- rep "no OpenBSD" "no LibertyBSD" arch/${arch}/stand/libsa/biosdev.c
- done
- rep "ost=\"OpenBSD\"" "ost=\"LibertyBSD\"" conf/newvers.sh
- rep ">> OpenBSD/\" MACHINE" ">> LibertyBSD/\" MACHINE" stand/boot/boot.c
- apply
|