quota/quotad_env.sh
Tomáš Chvátal 507c5b8932 - Cleanup with spec-cleaner
- Remove the compat for the usrmerge
- Use systemd service files instead of the initscript +
  added extra workaround for argument parsing.
- Remove extra SUSE traball with scripts as we reduced it down to
  one script and unitfile.

OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=35
2014-05-19 09:24:17 +00:00

12 lines
199 B
Bash

#!/bin/sh
. /etc/sysconfig/nfs
if [[ -n "${RQUOTAD_PORT}" ]]; then
RQUOTAD_PORT="-p ${RQUOTAD_PORT}"
fi
mkdir -p /run/sysconfig
echo "RQUOTAD_ARGS=\"${RQUOTAD_PORT}\"" > /run/sysconfig/quotad