On fait des tests de version sur le groupe "squeeze" et pas "crans-squeeze"
* Le motd est affiché au login sous wheezy, si ssh l'affiche, on l'a deux fois. * les permissions sont 1660 sous wheezy * Un random fichier supprimé qui traînait dans la staging area et que j'ai la flemme de chercher à le déstager
This commit is contained in:
parent
f9e1f5d23f
commit
693e206c6e
3 changed files with 6 additions and 17 deletions
|
@ -153,7 +153,7 @@ service("openvpn-freebox",
|
|||
init="openvpn",
|
||||
extra=["depends on openvpn-komaz"])
|
||||
|
||||
pg_version = '9.1' if has('crans-wheezy') else '8.4'
|
||||
pg_version = '8.4' if has('squeeze') else '9.1'
|
||||
service("pgsql-server",
|
||||
name="postgresql",
|
||||
init="postgresql",
|
||||
|
@ -289,7 +289,7 @@ for line in metadata.Probes["fstab_local"].splitlines():
|
|||
|
||||
# Permission attendue
|
||||
perm = '660'
|
||||
if has('crans-wheezy'):
|
||||
if not has('squeeze'):
|
||||
perm = '1' + perm
|
||||
|
||||
# on vérifie le filesystem directement pour les volumes lvm
|
||||
|
|
|
@ -64,7 +64,10 @@ header("Configuration du serveur ssh")
|
|||
|
||||
%X11Forwarding yesno(has("users") or has("2B"))
|
||||
@X11DisplayOffset 10
|
||||
@PrintMotd yes
|
||||
if has("squeeze"):
|
||||
@PrintMotd yes
|
||||
else:
|
||||
@PrintMotd no
|
||||
@PrintLastLog yes
|
||||
@TCPKeepAlive yes
|
||||
@#UseLogin no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue