mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb-scripts: Update nfs-ganesha-callout
On debian buster, this variable doesn't exist anymore. Look at this PR as a reference: https://github.com/gluster/storhaug/pull/30 Signed-off-by: Renaud Fortier <renaud.fortier@fsaa.ulaval.ca> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Apr 23 08:07:51 UTC 2020 on sn-devel-184
This commit is contained in:
parent
54a3560498
commit
fdfc480a56
@ -297,7 +297,7 @@ nfs_startup ()
|
|||||||
|
|
||||||
basic_start "nfs"
|
basic_start "nfs"
|
||||||
_f="${procfs}/sys/net/ipv4/tcp_tw_recycle"
|
_f="${procfs}/sys/net/ipv4/tcp_tw_recycle"
|
||||||
if [ "$_f" ] ; then
|
if [ -f "$_f" ] ; then
|
||||||
echo 1 >"$_f"
|
echo 1 >"$_f"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user