| /freebsd-12.1/usr.sbin/etcupdate/tests/ |
| H A D | conflicts_test.sh | 74 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 D | preworld_test.sh | 76 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 D | netstart | 39 /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 D | rc1 | 5 . /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 D | unbound.init | 22 . /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 D | unbound.init_fedora | 22 . /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 D | exclude-from-upgrade | 1 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 D | FREEBSD-upgrade | 46 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 D | openstack.conf | 18 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 D | arm.subr | 99 >> ${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 D | vagrant.conf | 26 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 D | gce.conf | 21 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 D | ec2.conf | 49 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 D | common | 73 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 D | 200.backup-passwd | 8 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 D | cap_test_relative.c | 63 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 D | functions-networking.sh | 109 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 D | buildpkg.sh.in | 213 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 D | dhclient-script | 215 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 D | dhclient-script | 217 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 D | motd | 10 . /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 D | README | 24 $ 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 D | defaults.sh | 407 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 D | cvo.sh | 33 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 D | Makefile | 66 ${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 …]
|