added workstation fixes
[fai-configs.git] / scripts / FAIBASE / 40-misc
1 #! /usr/sbin/cfagent -f
2
3 control:
4    any::
5    actionsequence = ( directories editfiles )
6    EditFileSize = ( 30000 )
7
8 directories:
9    any::
10         ${target}/tmp mode=1777 owner=0 group=0
11
12 editfiles:
13    any::
14         { ${target}/etc/mailname
15           AutoCreate
16           AppendIfNoSuchLine "${HOSTNAME}"
17         }
18
19         { ${target}/etc/default/rcS
20           ReplaceAll "^UTC=.*" With "UTC=${UTC}"
21         }
22
23         { ${target}/etc/inittab
24           ReplaceAll "/sbin/getty 38400"
25                 With "/sbin/getty -f /etc/issue.linuxlogo 38400"
26         }