#!/bin/sh LLXCFG_USER_GUARD="/usr/sbin/llxcfg-user-guard" # do some tests [ "$LOGNAME" ] || exit 0 [ "$1" = "postlogin" ] || exit 0 [ -x "$LLXCFG_USER_GUARD" ] || exit 0 $LLXCFG_USER_GUARD update "$LOGNAME" || true exit 0