Monday, March 10, 2008

Disable all default situations

Previously I had posted an entry showing a very simple script to turn the RunOnStart flag off for all the default situations. On the Developerworks forum it was pointed out that you should also remove the distribution flag as well. Here is the updated *Simple* script.

#!/bin/sh

tacmd listsit -n -d "," | \
while read line ; do
sitname=`echo "$line" | awk -F"," '{print $2}'`
tacmd editsit -s $sitname -p RunOnStart=NO Distribution=
done

No comments: