2.3 install check script doesn't check

2.3 install check script doesn't check

Post by Ian G Batt » Thu, 26 May 1994 23:42:49



I inadvertantly wrote

model SUNW,SPARCclassic disksize rootdisk 300-600 \
        classic_root_and_usr = customize_23

as the first line in my rules file and a 207M Classic took that action.
It should read

model SUNW,SPARCclassic && disksize rootdisk 300-600 \
        classic_root_and_usr = customize_23

of course.  auto_install_sample/check didn't complain.

ian

 
 
 

1. A script that will only check file if it has been modified since last check

I have a script that greps the /var/adm/messages file for a pattern, write
it to a file. Then emails me a warning.

The thing is I want to run this regularly, and the messages file is not
rotated regularly. How do I add this to the script that I only want it to
grep the file and email me if there is a new "pattern" not the same
"pattern" from an hour ago, or yesterday.

grep "currently marked as unusable" $ADMSG > $TEMP
grep "No more IP addresses on 192.168.2.0 network" $ADMSG >> $TEMP
if [ -s $TEMP ]
then
        /usr/sbin/pntadm -P 192.168.2 >> $TEMP
fi

#rm -f $TEMP

Yes, a will be installing a logchecker, but for now this is what I have time
for...

2. NISD Database search failed on

3. Double Checking Sun's Reality Check

4. modem in Red Hat 7.0

5. "mv" doesn't check for pre-existing destination

6. How do you install xfsft (FreeType)?

7. korn doesn't reset after checking mail

8. how to recover from a damaged system disk?

9. Help with libg++ (make check) on Solaris 2.3

10. HELP: KDE3.0.4 Screensaver doesn't check password!?

11. Check var doesn't contain letters??

12. My new bootdisk doesn't check extfs2 correctly, Help?

13. fsck doesn't parallelize check