Home
last modified time | relevance | path

Searched refs:etc (Results 1 – 25 of 1460) sorted by relevance

12345678910>>...59

/freebsd-12.1/usr.sbin/etcupdate/tests/
H A Dconflicts_test.sh74 mkdir -p $OLD/etc $NEW/etc $TEST/etc
84 :copyright=/etc/COPYRIGHT
89 :welcome=/etc/motd:
101 mkdir -p $OLD/etc/mail $NEW/etc/mail $TEST/etc/mail
222 conflict /etc/login.conf
230 resolved /etc/login.conf
239 file /etc/login.conf.db
240 resolved /etc/login.conf
258 file /etc/login.conf.db
259 resolved /etc/login.conf
[all …]
H A Dpreworld_test.sh76 mkdir -p $OLD/etc
122 $OLD/etc/group > $TEST/etc/group
129 rm $TEST/etc/inetd.conf
130 touch $TEST/etc/localtime
137 $SRC/etc/master.passwd
140 $SRC/etc/group
214 missing /etc/inetd.conf
218 file /etc/pwd.db
219 file /etc/spwd.db
236 M /etc/group
[all …]
/freebsd-12.1/libexec/rc/
H A Dnetstart39 /etc/rc.d/devd ${_start}
40 /etc/rc.d/hostid ${_start}
42 /etc/rc.d/ipmon ${_start}
44 /etc/rc.d/ipnat ${_start}
45 /etc/rc.d/ipfs ${_start}
46 /etc/rc.d/sppp ${_start}
47 /etc/rc.d/netif ${_start}
48 /etc/rc.d/ipsec ${_start}
49 /etc/rc.d/ppp ${_start}
50 /etc/rc.d/ipfw ${_start}
[all …]
/freebsd-12.1/release/picobsd/floppy.tree/etc/
H A Drc15 . /etc/rc.conf.defaults # Load default procedures
14 [ -f /etc/rc.conf ] && . /etc/rc.conf
15 [ -f /etc/rc.conf.local ] && . /etc/rc.conf.local
21 [ -n "${rc_local}" ] && echo ${rc_local} > /etc/rc.local
33 [ -f /etc/rc.serial ] && . /etc/rc.serial
36 if [ -f /etc/rc.network ]; then
37 . /etc/rc.network
49 [ -f /etc/syslog.conf -a -f /stand/syslogd ] && \
57 chmod 600 /etc/ssh_host*key
58 /usr/sbin/sshd -f /etc/sshd_config
[all …]
/freebsd-12.1/contrib/unbound/contrib/
H A Dunbound.init22 . /etc/rc.d/init.d/functions
30 [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
40 if [ -s /etc/localtime ]; then
41 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
42 …if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime;…
43 cp -fp /etc/localtime ${rootdir}/etc/localtime
46 if [ -s /etc/resolv.conf ]; then
47 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
48 …if [ ! -e ${rootdir}/etc/resolv.conf ] || ! /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv…
49 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
H A Dunbound.init_fedora22 . /etc/rc.d/init.d/functions
29 [ -e /etc/sysconfig/unbound ] && . /etc/sysconfig/unbound
38 …if [ ! -e ${rootdir}/etc/resolv.conf ] || /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv.c…
39 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
41 …if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; t…
42 cp -fp /etc/localtime ${rootdir}/etc/localtime
61 for mountfile in /dev/log /dev/urandom /etc/localtime /etc/resolv.conf /var/run/unbound
/freebsd-12.1/usr.sbin/pc-sysinstall/conf/
H A Dexclude-from-upgrade1 etc/fstab
3 etc/passwd
4 etc/pwd.db
5 etc/group
7 etc/spwd.db
8 etc/hosts
9 etc/resolv.conf
10 etc/localtime
11 etc/hosts
12 etc/X11
[all …]
/freebsd-12.1/contrib/sendmail/
H A DFREEBSD-upgrade46 etc/Makefile
49 etc/defaults/rc.conf
50 etc/mail/Makefile
51 etc/mail/README
52 etc/mail/access.sample
53 etc/mail/aliases
54 etc/mail/mailer.conf
59 etc/mtree/BSD.usr.dist
63 etc/rc
64 etc/rc.sendmail
[all …]
/freebsd-12.1/release/tools/
H A Dopenstack.conf18 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
21 echo 'UseDNS no' >> ${DESTDIR}/etc/ssh/sshd_config
27 echo 'sendmail_enable="NO"' >> ${DESTDIR}/etc/rc.conf
28 echo 'sendmail_submit_enable="NO"' >> ${DESTDIR}/etc/rc.conf
29 echo 'sendmail_outbound_enable="NO"' >> ${DESTDIR}/etc/rc.conf
30 echo 'sendmail_msp_queue_enable="NO"' >> ${DESTDIR}/etc/rc.conf
33 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
37 ${DESTDIR}/usr/local/etc/sudoers.d/cloud-init
39 rm -f ${DESTDIR}/etc/resolv.conf
46 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf
[all …]
H A Darm.subr99 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
101 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
103 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
105 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
116 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys
118 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys
120 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys
180 > ${CHROOTDIR}/${DESTDIR}/etc/fstab
182 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
184 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
[all …]
H A Dvagrant.conf26 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
29 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
31 echo 'UseDNS no' >> ${DESTDIR}/etc/ssh/sshd_config
34 echo 'sendmail_enable="NO"' >> ${DESTDIR}/etc/rc.conf
35 echo 'sendmail_submit_enable="NO"' >> ${DESTDIR}/etc/rc.conf
36 echo 'sendmail_outbound_enable="NO"' >> ${DESTDIR}/etc/rc.conf
37 echo 'sendmail_msp_queue_enable="NO"' >> ${DESTDIR}/etc/rc.conf
53 echo 'vagrant ALL=(ALL) NOPASSWD: ALL' >> ${DESTDIR}/usr/local/etc/sudoers
63 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf
64 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf
[all …]
H A Dgce.conf21 echo 'search google.internal' > ${DESTDIR}/etc/resolv.conf
23 echo 'nameserver 8.8.8.8' >> ${DESTDIR}/etc/resolv.conf
29 sed -i -e '/KEYWORD: firstboot/d' /etc/rc.d/growfs
31 cat << EOF >> ${DESTDIR}/etc/rc.conf
53 ${DESTDIR}/etc/hosts
56 cat << EOF > ${DESTDIR}/etc/ntp.conf
67 cat << EOF >> ${DESTDIR}/etc/syslog.conf
71 cat << EOF >> ${DESTDIR}/etc/ssh/sshd_config
79 cat << EOF >> ${DESTDIR}/etc/crontab
83 cat << EOF >> ${DESTDIR}/etc/sysctl.conf
[all …]
H A Dec2.conf49 echo 'growfs_enable="YES"' >> ${DESTDIR}/etc/rc.conf
53 echo 'ifconfig_DEFAULT="SYNCDHCP accept_rtadv"' >> ${DESTDIR}/etc/rc.conf
57 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
62 echo 'firstboot_pkgs_list="awscli"' >> ${DESTDIR}/etc/rc.conf
65 echo 'ipv6_activate_all_interfaces="YES"' >> ${DESTDIR}/etc/rc.conf
66 echo 'dhclient_program="/usr/local/sbin/dual-dhclient"' >> ${DESTDIR}/etc/rc.conf
103 ${DESTDIR}/etc/ssh/sshd_config
108 ${DESTDIR}/etc/ntp.conf
119 rm -f ${DESTDIR}/etc/resolv.conf
/freebsd-12.1/tools/tools/nanobsd/rescue/
H A Dcommon73 echo "hostname=\"rescue\"" > etc/rc.conf
74 echo "font8x14=\"iso15-8x14\"" >> etc/rc.conf
75 echo "font8x16=\"iso15-8x16\"" >> etc/rc.conf
76 echo "font8x8=\"iso15-8x8\"" >> etc/rc.conf
77 echo "keymap=\"german.iso\"" >> etc/rc.conf
79 echo "#sshd_enable=\"YES\"" >> etc/rc.conf
85 /usr/sbin/pwd_mkdb -d etc etc/master.passwd
90 pprint 2 "configure nanobsd /etc"
94 touch etc/diskless
112 rm -f conf/default/etc/remount
[all …]
/freebsd-12.1/usr.sbin/periodic/etc/daily/
H A D200.backup-passwd8 if [ -r /etc/defaults/periodic.conf ]
10 . /etc/defaults/periodic.conf
16 if [ ! -f /etc/master.passwd ]
21 elif [ ! -f /etc/group ]
37 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3
54 cp -p /etc/group $bak/group.bak || rc=3
57 if ! cmp -s $bak/group.bak /etc/group
61 diff -u $bak/group.bak /etc/group
63 cp -p /etc/group $bak/group.bak || rc=3
66 if [ -f /etc/group ]
[all …]
/freebsd-12.1/tools/regression/security/cap_test/
H A Dcap_test_relative.c63 REQUIRE(etc = open("/etc/", O_RDONLY)); in test_relative()
64 CHECK_SYSCALL_SUCCEEDS(cap_getrights, etc, &rights); in test_relative()
67 MAKE_CAPABILITY(etc_cap, etc, CAP_READ); in test_relative()
68 MAKE_CAPABILITY(etc_cap_ro, etc, CAP_READ | CAP_LOOKUP); in test_relative()
69 MAKE_CAPABILITY(etc_cap_base, etc, baserights); in test_relative()
70 MAKE_CAPABILITY(etc_cap_all, etc, CAP_MASK_VALID); in test_relative()
78 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative()
118 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative()
132 CHECK_NOTCAPABLE(openat, etc, "/etc/passwd", O_RDONLY); in test_relative()
137 CHECK_NOTCAPABLE(openat, etc, "../etc/passwd", O_RDONLY); in test_relative()
[all …]
/freebsd-12.1/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-networking.sh109 cat ${FSMNT}/etc/rc.conf | grep -q "wlans_${NIC}="
113 echo "ifconfig_${WLAN}=\"DHCP\"" >>${FSMNT}/etc/rc.conf
117 echo "ifconfig_${NIC}=\"DHCP\"" >>${FSMNT}/etc/rc.conf
154 cat ${FSMNT}/etc/rc.conf | grep -q "wlans_${NIC}="
173 : > ${FSMNT}/etc/resolv.conf
178 echo "nameserver ${NAMESERVER}" >>${FSMNT}/etc/resolv.conf
203 echo "ifconfig_${NIC}=\"DHCP\"" >>${FSMNT}/etc/rc.conf
269 : > ${FSMNT}/etc/resolv.conf
425 : >/etc/resolv.conf
430 echo "nameserver ${NAMESERVER}" >>/etc/resolv.conf
[all …]
/freebsd-12.1/crypto/openssh/
H A Dbuildpkg.sh.in213 mkdir -p $FAKE_ROOT${TEST_DIR}/etc/init.d
216 chmod 744 $FAKE_ROOT${TEST_DIR}/etc/init.d/${SYSVINIT_NAME}
273 $TEST_DIR/etc/rc0.d/${SYSVINITSTOPT}${SYSVINIT_NAME} 0 1
274 $TEST_DIR/etc/rc2.d/${SYSVINITSTART}${SYSVINIT_NAME} 0 1
300 ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} stop
321 [ "$RCS_D" = yes ] && mkdir -p ${TEST_DIR}/etc/rcS.d
322 mkdir -p ${TEST_DIR}/etc/rc0.d
323 [ "$RC1_D" = no ] || mkdir -p ${TEST_DIR}/etc/rc1.d
324 mkdir -p ${TEST_DIR}/etc/rc2.d
430 ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start
[all …]
/freebsd-12.1/release/picobsd/floppy.tree/sbin/
H A Ddhclient-script215 if [ -f /etc/resolv.conf.tail ]; then
216 cat /etc/resolv.conf.tail >>$tmpres
233 if [ -f /etc/resolv.conf ]; then
234 cat /etc/resolv.conf > /etc/resolv.conf.save
236 cat $tmpres > /etc/resolv.conf
240 chown -RL root:wheel /etc/resolv.conf
241 chmod -RL 644 /etc/resolv.conf
253 . /etc/dhclient-exit-hooks
291 . /etc/dhclient-enter-hooks
352 if [ -f /etc/resolv.conf.save ]; then
[all …]
/freebsd-12.1/sbin/dhclient/
H A Ddhclient-script217 if [ -f /etc/resolv.conf.tail ]; then
218 cat /etc/resolv.conf.tail >>$tmpres
239 if [ -f /etc/resolv.conf ]; then
240 cat /etc/resolv.conf > /etc/resolv.conf.save
242 cat $tmpres > /etc/resolv.conf
245 chown -RL root:wheel /etc/resolv.conf
246 chmod -RL 644 /etc/resolv.conf
266 . /etc/dhclient-exit-hooks
304 . /etc/dhclient-enter-hooks
370 if [ -f /etc/resolv.conf.save ]; then
[all …]
/freebsd-12.1/libexec/rc/rc.d/
H A Dmotd10 . /etc/rc.subr
27 if [ ! -f /etc/motd ]; then
28 install -c -o root -g wheel -m ${PERMS} /dev/null /etc/motd
31 if [ ! -w /etc/motd ]; then
38 …awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >>…
40 cmp -s $T /etc/motd || {
41 cp $T /etc/motd
42 chmod ${PERMS} /etc/motd
/freebsd-12.1/share/examples/jails/
H A DREADME24 $ cat jail.xxx.conf >> /etc/jail.conf
25 $ vi /etc/jail.conf
35 $ cp rc.conf.jails /etc/
36 $ vi /etc/rc.conf.jails
38 $ sysrc rc_conf_files+=/etc/rc.conf.jails
45 $ cp jail.xxx.conf /etc/
46 $ vi /etc/jail.xxx.conf
56 $ cp rcjail.xxx.conf /etc/
57 $ vi /etc/rcjail.xxx.conf
61 $ sysrc rc_conf_files+=/etc/rcjail.xxx.conf
[all …]
/freebsd-12.1/tools/tools/nanobsd/
H A Ddefaults.sh407 cp /dev/null "${NANO_WORLDDIR}"/etc/make.conf
408 ) > ${NANO_LOG}/_.etc 2>&1
529 if [ -d usr/local/etc ] ; then
531 cd usr/local/etc
534 rm -rf etc
543 ln -s ../../etc/local usr/local/etc
545 for d in var etc
573 touch etc/diskless
592 mkdir -p etc/local
732 ${NANO_WORLDDIR}/etc/ssh/sshd_config
[all …]
/freebsd-12.1/contrib/ntp/sntp/scripts/
H A Dcvo.sh33 elif test -f /etc/debian_version
35 set `cat /etc/debian_version`
38 elif test -f /etc/mandrake-release
40 set `cat /etc/mandrake-release`
43 elif test -f /etc/redhat-release
45 set `cat /etc/redhat-release`
71 elif test -f /etc/slackware-version
73 set `cat /etc/slackware-version`
76 elif test -f /etc/SuSE-release
78 set `cat /etc/SuSE-release`
/freebsd-12.1/etc/
H A DMakefile66 ${BIN1} ${DESTDIR}/etc; \
68 master.passwd ${DESTDIR}/etc;
73 pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
83 ${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
84 ${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt
86 if [ ! -e ${DESTDIR}/etc/unbound ]; then \
101 ${ETCMAIL} ${DESTDIR}/etc/mail
102 if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \
103 ! -f ${DESTDIR}/etc/aliases ]; then \
198 etc-examples: ${META_DEPS}
[all …]

12345678910>>...59