From c8e2443022a0e4e73398bf09b3bb64107df9a5d3 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 11 Feb 2010 21:42:04 -0800 Subject: [PATCH] Only make changed NIS table --- nis/solaris-lib.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nis/solaris-lib.pl b/nis/solaris-lib.pl index 994579131..64a46155a 100755 --- a/nis/solaris-lib.pl +++ b/nis/solaris-lib.pl @@ -310,6 +310,12 @@ splice(@$lref, $_[0]->{'line'}, $_[0]->{'eline'} - $_[0]->{'line'} + 1, @n); # the NIS server sub apply_table_changes { +if ($0 =~ /save_(\S+).cgi/) { + # Try to make just one table + local $table = $1; + local $ex = &system_logged("(cd /var/yp ; /usr/ccs/bin/make $table) >/dev/null 2>&1 /dev/null 2>&1