#! /bin/sh #------------------------------------------------------------------------------ # part of the sn-package for eisfair # export some configuration variables for user news # last update: 2003/09/11 # (c) 2003 by Christian Würdig (eisfair@chriswue.de) #------------------------------------------------------------------------------ . /etc/config.d/sn cd /var/run/sn rm -f * echo "$SN_REQ_NEW_GROUPS" > sn_req_new_groups echo "$SN_LOG_DIR" > sn_log_dir echo "$SN_FETCH_LOG" > sn_fetch_log echo "$SN_NNTPD_LOG" > sn_nntpd_log echo "$SN_ADMIN" > sn_admin chown news sn_req_new_groups sn_log_dir sn_fetch_log sn_nntpd_log sn_admin chgrp news sn_req_new_groups sn_log_dir sn_fetch_log sn_nntpd_log sn_admin chmod 644 sn_req_new_groups sn_log_dir sn_fetch_log sn_nntpd_log sn_admin if [ "$SN_USER_N" -gt 0 ]; then touch sn_auth chown news sn_auth chgrp news sn_auth chmod 644 sn_auth fi if [ "$SN_DO_DEBUG" = "yes" ]; then touch sn_do_debug chown news sn_do_debug chgrp news sn_do_debug chmod 644 sn_do_debug fi exit 0