--- rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-enable-cpu.patch 2010/11/02 17:07:31 1.1 +++ rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-enable-cpu.patch 2010/11/04 15:59:37 1.2 @@ -11,7 +11,7 @@ diff -up e-smith-ibays-2.2.0/root/etc/e- -exec /usr/sbin/userdel "$ibay" +if [ "$ldapauth" == "enabled" ] +then -+ /usr/sbin/cpu userdel "$ibay" ++ /usr/sbin/cpu -C/etc/cpu-system.conf userdel "$ibay" + /usr/sbin/cpu -C/etc/cpu-system.conf groupdel "$ibay" +else + exec /usr/sbin/userdel "$ibay"