services.subr (0bfd163f522701b486e066fa2e56624c02f5081a) | services.subr (d4ae33f0721c1b170fe37d97e395228ffcfb3f80) |
---|---|
1if [ ! "$_NETWORKING_SERVICES_SUBR" ]; then _NETWORKING_SERVICES_SUBR=1 2# 3# Copyright (c) 2013 Devin Teske 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 28 unchanged lines hidden (view full) --- 37############################################################ FUNCTIONS 38 39# f_config_pcnfsd 40# 41# Load pcnfsd package and adjust mountd_flags in rc.conf(5). 42# 43f_config_pcnfsd() 44{ | 1if [ ! "$_NETWORKING_SERVICES_SUBR" ]; then _NETWORKING_SERVICES_SUBR=1 2# 3# Copyright (c) 2013 Devin Teske 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 28 unchanged lines hidden (view full) --- 37############################################################ FUNCTIONS 38 39# f_config_pcnfsd 40# 41# Load pcnfsd package and adjust mountd_flags in rc.conf(5). 42# 43f_config_pcnfsd() 44{ |
45 local funcname=f_config_pcnfsd |
|
45 f_package_add "pcnfsd" || return $? | 46 f_package_add "pcnfsd" || return $? |
46 f_sysrc_set mountd_flags "-n" | 47 f_eval_catch $funcname f_sysrc_set 'f_sysrc_set mountd_flags -n' |
47 return $SUCCESS 48} 49 50############################################################ MAIN 51 52f_dprintf "%s: Successfully loaded." networking/services.subr 53 54fi # ! $_NETWORKING_SERVICES_SUBR | 48 return $SUCCESS 49} 50 51############################################################ MAIN 52 53f_dprintf "%s: Successfully loaded." networking/services.subr 54 55fi # ! $_NETWORKING_SERVICES_SUBR |