Daniel J Walsh wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/11/2012 10:58 AM, Jorge Fábregas wrote: >> On 07/11/2012 09:43 AM, Daniel J Walsh wrote: >>> Most likely we will just close this, since we do not support this small >>> of memory system. <snip> > I guess we could check to see if there is enough memory to run > genhomedircon, else just exit immediately. > > Since all genhomedircon is a script that runs semodule -Bn got any good > ideas how to check the amount of memory on the machine? free | awk '{ if ( NR == 2 ) { if ( $4 > somenum ) { exit 0; } else { exit 1; }}}' mark -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux