vmimage.subr (554491ffbdcfe51993d5b436a9bbca7aba388dd3) | vmimage.subr (f8e26d73e1381ab1a259063308cf8271e54ae1cb) |
---|---|
1#!/bin/sh 2# 3# $FreeBSD$ 4# 5# 6# Common functions for virtual machine image build scripts. 7# 8 --- 143 unchanged lines hidden (view full) --- 152 153vm_extra_enable_services() { 154 if [ ! -z "${VM_RC_LIST}" ]; then 155 for _rcvar in ${VM_RC_LIST}; do 156 echo ${_rcvar}_enable="YES" >> ${DESTDIR}/etc/rc.conf 157 done 158 fi 159 | 1#!/bin/sh 2# 3# $FreeBSD$ 4# 5# 6# Common functions for virtual machine image build scripts. 7# 8 --- 143 unchanged lines hidden (view full) --- 152 153vm_extra_enable_services() { 154 if [ ! -z "${VM_RC_LIST}" ]; then 155 for _rcvar in ${VM_RC_LIST}; do 156 echo ${_rcvar}_enable="YES" >> ${DESTDIR}/etc/rc.conf 157 done 158 fi 159 |
160 if [ -z "${VMCONFIG}" -o -c "${VMCONFIG}" ]; then 161 echo 'ifconfig_DEFAULT="DHCP inet6 accept_rtadv"' >> \ 162 ${DESTDIR}/etc/rc.conf 163 fi 164 |
|
160 return 0 161} 162 163vm_extra_install_packages() { 164 if [ -z "${VM_EXTRA_PACKAGES}" ]; then 165 return 0 166 fi 167 mkdir -p ${DESTDIR}/dev --- 68 unchanged lines hidden --- | 165 return 0 166} 167 168vm_extra_install_packages() { 169 if [ -z "${VM_EXTRA_PACKAGES}" ]; then 170 return 0 171 fi 172 mkdir -p ${DESTDIR}/dev --- 68 unchanged lines hidden --- |