Searched refs:state_dir (Results 1 – 8 of 8) sorted by relevance
58 self.state_dir = None70 def init(self, state_dir=None, log_file=None): argument83 self.state_dir = state_dir85 if self.state_dir:86 if not os.path.exists(self.state_dir):88 os.mkdir(self.state_dir)95 self.log_file = os.path.join(state_dir, log_file)209 return os.path.join(self.state_dir, file_name)225 if not self.log_file or not os.path.exists(self.state_dir):
21 ntp_conf_dir="$state_dir/ntp.conf"37 local cf="$state_dir/ntp.conf.$ifname"
9 resolv_conf_dir="$state_dir/resolv.conf"15 local cf="$state_dir/resolv.conf.$ifname"
3 mtu_dir="$state_dir/mtu"
6 ypbind_dir="$state_dir/ypbind"
98 state_dir = '/var/tmp/faft'99 self._log_file = os.path.join(state_dir, 'faft_client.log')100 self._os_if.init(state_dir, log_file=self._log_file)101 os.chdir(state_dir)
20 state_dir=@RUNDIR@/dhcpcd
337 - Added the state_dir configuration variable for choosing the location of