#!/bin/bash hvconfig_pre() { sed -i -e "s,^extern char \*malloc();,/* & */," ${SRC_DIR}/scaffold.c } hvbuild() { make -j ${MAKEJOBS} REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux make install } hvbuild_post() { # Creating /etc/hosts.allow cat > /etc/hosts.allow << "EOF" ALL : LOCAL 192.168.0.0/255.255.255.0 : RFC931 EOF # Creating /etc/hosts.deny cat > /etc/hosts.deny << "EOF" ALL: ALL: RFC931 EOF }