Home
last modified time | relevance | path

Searched refs:_hn (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/etc/
Dnetstart111 local _vif _hn _if
114 for _hn in /etc/hostname.${_vif}+([[:digit:]]); do
115 [[ -f $_hn ]] || continue
116 _if=${_hn#/etc/hostname.}
135 local _if=$1 _lladdr _hn=/etc/hostname.$1 _cmds _i=0 _line _stat
145 print -u2 "${0##*/}: $_hn: /etc/hostname.$_lladdr overrides"
163 if [[ ! -f $_hn ]]; then
164 print -u2 "${0##*/}: $_hn: No such file or directory."
169 set -A _stat -- $(ls -nL $_hn)
171 print -u2 "WARNING: $_hn is insecure, fixing permissions."
[all …]
/openbsd/src/distrib/miniroot/
Dinstall.sub1021 local _if=$1 _hn=/tmp/i/hostname.$1 _hn_vd _vd _vdvi _vdvi_used _vi
1076 echo "$_vi parent $_vd" >>$_hn
1077 chmod 640 $_hn_vd $_hn
1088 local _if=$1 _name=$2 _hn=$3 _addr _mask _newaddr
1109 echo "inet autoconf" >>$_hn
1126 echo "inet $2 $3" >>$_hn
1201 local _if=$1 _name=$2 _hn=$3 _addr _newaddr _prefixlen
1226 echo "inet6 autoconf" >>$_hn
1242 echo "inet6 $2 $3" >>$_hn
1262 local _if=$1 _hn=$2 _prompt _nwid _haswep=0 _haswpa=0 _err
[all …]