On Sun, Feb 11, 2007 at 10:15:39PM -0800, [EMAIL PROTECTED] wrote: > i still would like to be able to disable remote syslogging on the client > side... something like this:
on second thought, i think this simpler patch would suffice for an option to disable: === modified file 'debian/ltsp-client.ltsp-client-setup.init' --- debian/ltsp-client.ltsp-client-setup.init 2007-01-11 06:46:05 +0000 +++ debian/ltsp-client.ltsp-client-setup.init 2007-02-18 06:32:33 +0000 @@ -129,9 +129,11 @@ } configure_syslog() { - cat <<EOF > /etc/syslog.conf + if [ -z "$SYSLOG" ] || [ "$SYSLOG" = "remote" ]; then + cat <<EOF > /etc/syslog.conf *.* @${SYSLOG_HOST-$SERVER} EOF + fi } configure_fstab() { this keeps the default behavior like it is now (remote syslogging only), but makes it possible to disable remote syslogging by setting it to a non-empty value other than "remote", where it will then use the the syslog.conf from the chroot, so any needed customizations can be handled there... thoughts? live well, vagrant -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]