#!/bin/bash

[ "$(CreoleGet ad_local)" = 'oui' ] || exit 0

# Do not use agent for connections in the container
unset SSH_AUTH_SOCK

lxc-attach -n addc -- /usr/share/eole/postservice/30-gposcript

# Create logon script files for network drives mapping
[ -x /usr/share/eole/sbin/special_shares.sh ] && /usr/share/eole/sbin/special_shares.sh

exit 0
