/freebsd-10.1-release/tools/tools/nanobsd/Files/root/ |
H A D | save_sshkeys | 32 trap "umount /cfg" 1 2 15 EXIT 33 mount /cfg 34 mkdir -p /cfg/ssh 37 cp ssh_host_* /cfg/ssh 39 umount /cfg
|
H A D | save_cfg | 33 trap "umount /cfg" 1 2 15 EXIT 34 mount /cfg 39 if [ ! -f /cfg/$filename -a ! -f /cfg/.ignore/$filename ] 43 # If file doesn't exist in /cfg and file is not in the 'ignore' list 63 # Add to cfg (y/n/i)? 64 # y) -> save this file in /cfg 65 # n) -> do not save this file in /cfg for current script invocation ONLY 66 # i) -> add file to ignore list (/cfg/.ignore hiereachy) and never save 67 # try to add this file to /cfg [all...] |
H A D | change_password | 34 cfgslice=`grep '/cfg' /etc/fstab | cut -d \ -f 1` 36 trap "umount /cfg" 1 2 15 EXIT 37 mount /cfg 38 cp /etc/master.passwd /etc/passwd /etc/pwd.db /etc/spwd.db /etc/group /cfg 39 umount /cfg
|
/freebsd-10.1-release/tools/tools/nanobsd/pcengines/Files/root/ |
H A D | save_sshkeys | 32 trap "umount /cfg" 1 2 15 EXIT 33 mount /cfg 34 mkdir -p /cfg/ssh 37 cp ssh_host_* /cfg/ssh 39 umount /cfg
|
H A D | save_cfg | 32 trap "umount /cfg" 1 2 15 EXIT 33 mount /cfg 35 cd /cfg 38 cmp -s /etc/$i /cfg/$i || cp -pfv /etc/$i /cfg/$i 41 umount /cfg
|
H A D | change_password | 34 cfgslice=`grep '/cfg' /etc/fstab | cut -d \ -f 1` 36 trap "umount /cfg" 1 2 15 EXIT 37 mount /cfg 38 cp /etc/master.passwd /etc/passwd /etc/pwd.db /etc/spwd.db /etc/group /cfg 39 umount /cfg
|
/freebsd-10.1-release/usr.sbin/pc-sysinstall/examples/ |
H A D | Makefile | 3 FILES= README pc-autoinstall.conf pcinstall.cfg.fbsd-netinstall \ 4 pcinstall.cfg.geli pcinstall.cfg.gmirror pcinstall.cfg.netinstall \ 5 pcinstall.cfg.restore pcinstall.cfg.rsync pcinstall.cfg.upgrade \ 6 pcinstall.cfg.zfs
|
/freebsd-10.1-release/contrib/unbound/smallapp/ |
H A D | unbound-checkconf.c | 90 * @param cfg: config 95 print_option(struct config_file* cfg, const char* opt) argument 97 if(!config_get_option(cfg, opt, config_print_func, stdout)) 103 check_mod(struct config_file* cfg, struct module_func_block* fb) argument 107 env.cfg = cfg; 122 localzonechecks(struct config_file* cfg) argument 127 if(!local_zones_apply_cfg(zs, cfg)) 156 interfacechecks(struct config_file* cfg) argument 161 for(i=0; i<cfg 190 aclchecks(struct config_file* cfg) argument 260 check_chroot_string(const char* desc, char** ss, const char* chrootdir, struct config_file* cfg) argument 282 check_chroot_filelist(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument 293 check_chroot_filelist_wild(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument 314 morechecks(struct config_file* cfg, const char* fname) argument 430 check_fwd(struct config_file* cfg) argument 441 check_hints(struct config_file* cfg) argument 454 struct config_file* cfg = config_create(); local [all...] |
/freebsd-10.1-release/sbin/etherswitchcfg/ |
H A D | etherswitchcfg.c | 67 struct cfg { struct 82 void (*f)(struct cfg *, char *argv[]); 120 read_register(struct cfg *cfg, int r) argument 125 if (ioctl(cfg->fd, IOETHERSWITCHGETREG, &er) != 0) 131 write_register(struct cfg *cfg, int r, int v) argument 137 if (ioctl(cfg->fd, IOETHERSWITCHSETREG, &er) != 0) 142 read_phyregister(struct cfg *cfg, in argument 154 write_phyregister(struct cfg *cfg, int phy, int reg, int val) argument 166 set_port_vid(struct cfg *cfg, char *argv[]) argument 185 set_port_flag(struct cfg *cfg, char *argv[]) argument 226 set_port_media(struct cfg *cfg, char *argv[]) argument 246 set_port_mediaopt(struct cfg *cfg, char *argv[]) argument 271 set_vlangroup_vid(struct cfg *cfg, char *argv[]) argument 288 set_vlangroup_members(struct cfg *cfg, char *argv[]) argument 326 set_register(struct cfg *cfg, char *arg) argument 343 set_phyregister(struct cfg *cfg, char *arg) argument 366 set_vlan_mode(struct cfg *cfg, char *argv[]) argument 389 print_config(struct cfg *cfg) argument 426 print_port(struct cfg *cfg, int port) argument 466 print_vlangroup(struct cfg *cfg, int vlangroup) argument 501 print_info(struct cfg *cfg) argument 551 newmode(struct cfg *cfg, enum cmdmode mode) argument 584 struct cfg cfg; local [all...] |
/freebsd-10.1-release/sys/dev/puc/ |
H A D | puc_cfg.c | 42 const struct puc_cfg *cfg = sc->sc_cfg; local 45 if (cfg->config_function != NULL) { 46 error = cfg->config_function(sc, cmd, port, r); 54 if (cfg->clock < 0) 56 *r = cfg->clock; 59 if (cfg->desc == NULL) 61 *r = (intptr_t)cfg->desc; 72 switch (cfg->ports) { 111 if (cfg->d_ofs < 0) 113 *r = port * cfg [all...] |
/freebsd-10.1-release/contrib/unbound/util/ |
H A D | config_file.c | 73 struct config_file* cfg; local 74 cfg = (struct config_file*)calloc(1, sizeof(struct config_file)); 75 if(!cfg) 78 cfg->verbosity = 1; 79 cfg->stat_interval = 0; 80 cfg->stat_cumulative = 0; 81 cfg->stat_extended = 0; 82 cfg->num_threads = 1; 83 cfg->port = UNBOUND_DNS_PORT; 84 cfg 222 struct config_file* cfg = config_create(); local 290 config_set_option(struct config_file* cfg, const char* opt, const char* val) argument 478 config_get_option_list(struct config_file* cfg, const char* opt, struct config_strlist** list) argument 495 config_get_option_collate(struct config_file* cfg, const char* opt, char** str) argument 579 config_get_option(struct config_file* cfg, const char* opt, void (*func)(char*,void*), void* arg) argument 702 create_cfg_parser(struct config_file* cfg, char* filename, const char* chroot) argument 715 config_read(struct config_file* cfg, const char* filename, const char* chroot) argument 841 config_delete(struct config_file* cfg) argument 970 cfg_condense_ports(struct config_file* cfg, int** avail) argument 1193 strlen_after_chroot(const char* fname, struct config_file* cfg, int use_chdir) argument 1235 fname_after_chroot(const char* fname, struct config_file* cfg, int use_chdir) argument 1311 cfg_parse_local_zone(struct config_file* cfg, const char* val) argument [all...] |
H A D | configparser.y | 173 s->next = cfg_parser->cfg->stubs; 174 cfg_parser->cfg->stubs = s; 189 s->next = cfg_parser->cfg->forwards; 190 cfg_parser->cfg->forwards = s; 204 else cfg_parser->cfg->num_threads = atoi($2); 213 else cfg_parser->cfg->verbosity = atoi($2); 221 cfg_parser->cfg->stat_interval = 0; 224 else cfg_parser->cfg->stat_interval = atoi($2); 233 else cfg_parser->cfg->stat_cumulative = (strcmp($2, "yes")==0); 242 else cfg_parser->cfg [all...] |
/freebsd-10.1-release/sys/cam/scsi/ |
H A D | scsi_enc_safte.c | 262 struct scfg *cfg; local 266 cfg = enc->enc_private; 267 if (cfg == NULL) 276 cfg->Nfans = buf[0]; 277 cfg->Npwr = buf[1]; 278 cfg->Nslots = buf[2]; 279 cfg->DoorLock = buf[3]; 280 cfg->Ntherm = buf[4]; 281 cfg->Nspkrs = buf[5]; 283 cfg 336 struct scfg *cfg; local 361 struct scfg *cfg; local 670 struct scfg *cfg; local 739 struct scfg *cfg; local 960 struct scfg *cfg; local 992 struct scfg *cfg; local 1010 struct scfg *cfg; local 1039 struct scfg *cfg; local 1072 struct scfg *cfg; local 1117 struct scfg *cfg; local [all...] |
/freebsd-10.1-release/contrib/unbound/daemon/ |
H A D | unbound.c | 197 checkrlimits(struct config_file* cfg) argument 202 int list = ((cfg->do_udp?1:0) + (cfg->do_tcp?1 + 203 (int)cfg->incoming_num_tcp:0)); 204 size_t listen_ifs = (size_t)(cfg->num_ifs==0? 205 ((cfg->do_ip4 && !cfg->if_automatic?1:0) + 206 (cfg->do_ip6?1:0)):cfg->num_ifs); 208 size_t outudpnum = (size_t)cfg 295 apply_settings(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose) argument 431 perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, const char** cfgfile) argument 638 struct config_file* cfg = NULL; local [all...] |
/freebsd-10.1-release/sys/dev/pci/ |
H A D | pci.c | 73 #define PCIR_IS_BIOS(cfg, reg) \ 74 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \ 75 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1)) 84 static void pci_fixancient(pcicfgregs *cfg); 85 static int pci_printf(pcicfgregs *cfg, const char *fmt, ...); 101 pcicfgregs *cfg); 102 static void pci_read_cap(device_t pcib, pcicfgregs *cfg); 103 static int pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg, 106 static int pci_write_vpd_reg(device_t pcib, pcicfgregs *cfg, 109 static void pci_read_vpd(device_t pcib, pcicfgregs *cfg); 413 pci_printf(pcicfgregs *cfg, const char *fmt, ...) argument 525 pci_fixancient(pcicfgregs *cfg) argument 538 pci_hdrtypedata(device_t pcib, int b, int s, int f, pcicfgregs *cfg) argument 564 pcicfgregs *cfg = NULL; local 636 pci_read_cap(device_t pcib, pcicfgregs *cfg) argument 803 pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg, int reg, uint32_t *data) argument 845 pcicfgregs *cfg; member in struct:vpd_readstate 877 pci_read_vpd(device_t pcib, pcicfgregs *cfg) argument 1152 pcicfgregs *cfg = &dinfo->cfg; local 1155 pci_read_vpd(device_get_parent(dev), cfg); local 1170 pcicfgregs *cfg = &dinfo->cfg; local 1174 pci_read_vpd(device_get_parent(dev), cfg); local 1191 pcicfgregs *cfg = &dinfo->cfg; local 1251 pcicfgregs *cfg = &dinfo->cfg; local 1304 pcicfgregs *cfg = &dinfo->cfg; local 1438 pcicfgregs *cfg = &dinfo->cfg; local 1936 pcicfgregs *cfg = &dinfo->cfg; local 2103 pcicfgregs *cfg = &dinfo->cfg; local 2325 pcicfgregs *cfg = &dinfo->cfg; local 2398 pcicfgregs *cfg = &dinfo->cfg; local 2514 pcicfgregs *cfg = &dinfo->cfg; local 2977 pcicfgregs *cfg = &dinfo->cfg; local 3204 pcicfgregs *cfg; local 4026 pcicfgregs *cfg; local 4294 pcicfgregs *cfg; local 4366 pcicfgregs *cfg; local 4534 pcicfgregs *cfg = &dinfo->cfg; local 4545 pcicfgregs *cfg = &dinfo->cfg; local 4566 pcicfgregs *cfg; local 4581 pcicfgregs *cfg = &dinfo->cfg; local 4613 struct pcicfg_pcie *cfg; local 4706 struct pcicfg_pcie *cfg; local [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | PostOrderCFGView.cpp | 20 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) { argument 21 Blocks.reserve(cfg->getNumBlockIDs()); 22 CFGBlockSet BSet(cfg); 24 for (po_iterator I = po_iterator::begin(cfg, BSet), 25 E = po_iterator::end(cfg, BSet); I != E; ++I) { 32 const CFG *cfg = ctx.getCFG(); local 33 if (!cfg) 35 return new PostOrderCFGView(cfg);
|
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | config.c | 88 svn_config_t *cfg = apr_palloc(result_pool, sizeof(*cfg)); 90 cfg->sections = apr_hash_make(result_pool); 91 cfg->pool = result_pool; 92 cfg->x_pool = svn_pool_create(result_pool); 93 cfg->x_values = FALSE; 94 cfg->tmp_key = svn_stringbuf_create_empty(result_pool); 95 cfg->tmp_value = svn_stringbuf_create_empty(result_pool); 96 cfg->section_names_case_sensitive = section_names_case_sensitive; 97 cfg 85 svn_config_t *cfg = apr_palloc(result_pool, sizeof(*cfg)); local 107 svn_config_t *cfg; local 142 svn_config_t *cfg; local 247 get_category_config(svn_config_t **cfg, const char *config_dir, const char *category, apr_pool_t *pool) argument 291 svn_config_t *cfg; local 316 for_each_option(svn_config_t *cfg, void *baton, apr_pool_t *pool, svn_boolean_t callback(void *same_baton, cfg_section_t *section, cfg_option_t *option)) argument 359 svn_config_merge(svn_config_t *cfg, const char *file, svn_boolean_t must_exist) argument 396 remove_expansions(svn_config_t *cfg) argument 423 find_option(svn_config_t *cfg, const char *section, const char *option, cfg_section_t **sectionp) argument 473 make_string_from_option(const char **valuep, svn_config_t *cfg, cfg_section_t *section, cfg_option_t *opt, apr_pool_t* x_pool) argument 526 expand_option_value(svn_config_t *cfg, cfg_section_t *section, const char *opt_value, const char **opt_x_valuep, apr_pool_t *x_pool) argument 603 svn_config_addsection(svn_config_t *cfg, const char *section) argument 646 svn_config_get(svn_config_t *cfg, const char **valuep, const char *section, const char *option, const char *default_value) argument 681 svn_config_set(svn_config_t *cfg, const char *section, const char *option, const char *value) argument 753 svn_config_get_bool(svn_config_t *cfg, svn_boolean_t *valuep, const char *section, const char *option, svn_boolean_t default_value) argument 765 svn_config_set_bool(svn_config_t *cfg, const char *section, const char *option, svn_boolean_t value) argument 774 svn_config_get_int64(svn_config_t *cfg, apr_int64_t *valuep, const char *section, const char *option, apr_int64_t default_value) argument 791 svn_config_set_int64(svn_config_t *cfg, const char *section, const char *option, apr_int64_t value) argument 801 svn_config_get_yes_no_ask(svn_config_t *cfg, const char **valuep, const char *section, const char *option, const char* default_value) argument 830 svn_config_get_tristate(svn_config_t *cfg, svn_tristate_t *valuep, const char *section, const char *option, const char *unknown_value, svn_tristate_t default_value) argument 861 svn_config_enumerate_sections(svn_config_t *cfg, svn_config_section_enumerator_t callback, void *baton) argument 889 svn_config_enumerate_sections2(svn_config_t *cfg, svn_config_section_enumerator2_t callback, void *baton, apr_pool_t *pool) argument 920 svn_config_enumerate(svn_config_t *cfg, const char *section, svn_config_enumerator_t callback, void *baton) argument 957 svn_config_enumerate2(svn_config_t *cfg, const char *section, svn_config_enumerator2_t callback, void *baton, apr_pool_t *pool) argument 1028 svn_config_find_group(svn_config_t *cfg, const char *key, const char *master_section, apr_pool_t *pool) argument 1043 svn_config_get_server_setting(svn_config_t *cfg, const char* server_group, const char* option_name, const char* default_value) argument 1150 svn_config_get_server_setting_int(svn_config_t *cfg, const char *server_group, const char *option_name, apr_int64_t default_value, apr_int64_t *result_value, apr_pool_t *pool) argument 1182 svn_config_get_server_setting_bool(svn_config_t *cfg, svn_boolean_t *valuep, const char *server_group, const char *option_name, svn_boolean_t default_value) argument 1197 svn_config_has_section(svn_config_t *cfg, const char *section) argument [all...] |
/freebsd-10.1-release/contrib/wpa/src/p2p/ |
H A D | p2p_invitation.c | 65 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 69 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 75 dev_addr = p2p->cfg->dev_addr; 132 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 137 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); 166 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 175 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 181 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 190 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 199 wpa_msg(p2p->cfg [all...] |
H A D | p2p_go_neg.c | 51 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { 52 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO, 54 p2p->cfg->country[0], p2p->cfg->country[1], 64 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO, 79 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Own reg_classes %d " 85 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO, 162 if (p2p->cfg->p2p_intra_bss) 171 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg [all...] |
H A D | p2p_dev_disc.c | 45 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 59 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 77 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 87 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 98 p2p->cfg->dev_addr, go->info.p2p_device_addr, 100 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 134 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 137 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); 150 wpa_msg(p2p->cfg [all...] |
H A D | p2p_sd.c | 158 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, 160 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 238 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 249 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 262 p2p->cfg->dev_addr, dev->info.p2p_device_addr, 264 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 287 if (p2p->cfg->sd_request == NULL) 293 freq = p2p_channel_to_freq(p2p->cfg->country, 294 p2p->cfg->reg_class, 295 p2p->cfg [all...] |
H A D | p2p_pd.c | 144 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 151 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 157 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 169 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Unsupported " 183 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: PD " 193 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer " MACSTR 198 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer " MACSTR 215 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 220 freq = p2p_channel_to_freq(p2p->cfg->country, 221 p2p->cfg [all...] |
/freebsd-10.1-release/sbin/hastd/ |
H A D | control.h | 45 void control_handle(struct hastd_config *cfg);
|
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | ncp.h | 44 } cfg; member in struct:ncp 79 ncp_IsUrgentPort(&(ncp)->cfg.urgent.tcp, p1, p2) 81 ncp_IsUrgentPort(&(ncp)->cfg.urgent.udp, p1, p2) 83 ncp_AddUrgentPort(&(ncp)->cfg.urgent.tcp, p) 85 ncp_AddUrgentPort(&(ncp)->cfg.urgent.udp, p) 87 ncp_RemoveUrgentPort(&(ncp)->cfg.urgent.tcp, p) 89 ncp_RemoveUrgentPort(&(ncp)->cfg.urgent.udp, p) 91 ncp_ClearUrgentPorts(&(ncp)->cfg.urgent.tcp) 93 ncp_ClearUrgentPorts(&(ncp)->cfg.urgent.udp) 94 #define ncp_ClearUrgentTOS(ncp) (ncp)->cfg [all...] |
/freebsd-10.1-release/contrib/subversion/subversion/svn/ |
H A D | help-cmd.c | 94 svn_config_t *cfg; 98 cfg = svn_hash_gets(cmd_baton->ctx->config, 100 if (cfg) 102 SVN_ERR(svn_config_get_bool(cfg, &store_auth_creds, 106 SVN_ERR(svn_config_get_bool(cfg, &store_passwords, 111 cfg = svn_hash_gets(cmd_baton->ctx->config, 113 if (cfg) 117 (cfg, &value, 92 svn_config_t *cfg; local
|