Search the web
Sign In
New User? Sign Up
FreeBSD-rc · Improving FreeBSD startup scripts
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
rc.d/diskless newaliases patch   Message List  
Reply | Forward Message #423 of 729 |
Any objections to this rc.d/diskless patch to avoid running newaliases
on machines which aren't using sentmail/mailwrapper? I deliberatly
duplicated the case statement because this part is not related to
configuring /var.

-- Brooks

Index: diskless
===================================================================
RCS file: /usr/cvs/src/etc/rc.d/diskless,v
retrieving revision 1.29
diff -u -p -r1.29 diskless
--- diskless 13 Oct 2003 08:18:05 -0000 1.29
+++ diskless 4 Nov 2003 23:42:38 -0000
@@ -107,7 +107,13 @@ echo "+++ create lastlog"
# Make sure our aliases database is uptodate, the aliases may have
# been overriden in /conf.
#
-/usr/bin/newaliases
+case ${sendmail_enable} in
+[Nn][Oo][Nn][Ee])
+ ;;
+*)
+ /usr/bin/newaliases
+ ;;
+esac

# XXX make sure to create one dir for each printer as requested by lpd
#

--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4


Wed Nov 5, 2003 1:49 am

brdavis
Offline Offline
Send Email Send Email

Attachment
attachment
Type:
application/pgp-signature
Forward
Message #423 of 729 |
Expand Messages Author Sort by Date

Any objections to this rc.d/diskless patch to avoid running newaliases on machines which aren't using sentmail/mailwrapper? I deliberatly duplicated the case...
Brooks Davis
brdavis
Offline Send Email
Nov 5, 2003
1:50 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help