forked from pool/quota
1a8ed8e39a
fix bashism in quotad_env.sh script OBS-URL: https://build.opensuse.org/request/show/262261 OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=39
12 lines
197 B
Bash
12 lines
197 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
|
|
|