#!/bin/sh 
root=`dirname $0`
echo "Checking ICEOS root from $0"
# this allows the ipmice executable to update the system time
$root/setcap "CAP_SYS_TIME+ep" $root/ipmice
$root/setcap "CAP_SETUID+ep" $root/../../usr/bin/newuidmap
$root/setcap "CAP_SETGID+ep" $root/../../usr/bin/newgidmap
