genhomedircon: drop unused functions
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
parent
806a0d12f8
commit
cf8f7bbea7
|
@ -138,9 +138,6 @@ class selinuxConfig:
|
||||||
def getFileContextFile(self):
|
def getFileContextFile(self):
|
||||||
return self.getFileContextDir()+"/file_contexts"
|
return self.getFileContextDir()+"/file_contexts"
|
||||||
|
|
||||||
def getContextDir(self):
|
|
||||||
return self.selinuxdir+self.setype+self.contextdir
|
|
||||||
|
|
||||||
def getHomeDirTemplate(self):
|
def getHomeDirTemplate(self):
|
||||||
return self.getFileContextDir()+"/homedir_template"
|
return self.getFileContextDir()+"/homedir_template"
|
||||||
|
|
||||||
|
@ -271,9 +268,6 @@ class selinuxConfig:
|
||||||
ret += self.genHomeDirContext()
|
ret += self.genHomeDirContext()
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def printout(self):
|
|
||||||
print(self.genoutput())
|
|
||||||
|
|
||||||
def write(self):
|
def write(self):
|
||||||
try:
|
try:
|
||||||
fd = open(self.getFileContextDir()+"/file_contexts.homedirs", "w")
|
fd = open(self.getFileContextDir()+"/file_contexts.homedirs", "w")
|
||||||
|
|
Loading…
Reference in New Issue