Is there any way to detect all the temporary changes that have been made to a system? -- I asked this at Liane's tutorial at SANE 2006
I think I can get all the temporary disabled ones using svcs |grep disabled but this doesn';t account for the temporary enabled services though.. The following snippet seems to do the job #!/bin/perl open (LS_SVCS, "svcs -a|"); @svcs = grep {! /^lrc/ } map {/(\S+)$/} <LS_SVCS>; close (LS_SVCS) ; foreach my $s (@svcs) { next if($s eq 'FMRI'); my $stat = `svcs -l $s`; print $stat . "\n" if($stat =~ /enabled\s*.*temporary/); } But a more builtin way of listing the temporary changes would be desirable I think. Gavin This message posted from opensolaris.org