summaryrefslogtreecommitdiffstats
path: root/package/nfs-utils/S60nfs
Commit message (Collapse)AuthorAgeFilesLines
* packages: update sysv S* scripts to 644Matt Weber2019-02-081-0/+0
| | | | | Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nfs-utils: don't test if the binary exists in the init scriptCarlos Santos2018-04-161-5/+0
| | | | | | | | The test doesn't make sense. It just exits without any error if the binary doesn't exist, which is silly. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/nfs-utils: fix indentationMaxime Hadjinlian2016-07-041-18/+18
| | | | | | | Use tabs everywhere still we don't have an official policy. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nfs-utils: start/stop daemons consistentlyAndreas Ehmanns2016-07-041-6/+6
| | | | | | | | | | | | | | Change init script to start and stop all nfs daemons in a consistent way. Using the same kill command, start/stop the daemon, printout OK or FAIL and touch or deleted necessary files. Signed-off-by: Andreas Ehmanns <universeII@gmx.de> [Maxime: - Make it really consistent to stop the daemons as pointed out by Yann E. Morin - Remove the -9] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Package nfs-utils: Added check for OK/FAILuniverse II2016-07-031-8/+8
| | | | | | | | | | | Removed unconditional 'done' output when starting and stopping the daemons. Instead check return value of daemon and print out OK or FAIL. Signed-off-by: Andreas Ehmanns <universeII@gmx.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nfsd: accept config to set number of threadsAndreas Ehmanns2015-12-171-2/+10
| | | | | | | | [Thomas: tweak commit title and author.] Signed-off-by: Andreas Ehmanns <universeII@gmx.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-7/+7
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nfs-utils: Create missing directory sm.bakMaxime Hadjinlian2015-07-131-0/+1
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nfs-utils: Bump versionMaxime Hadjinlian2015-07-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refresh the patches (Thanks to Thomas Petazzoni's work) Patches removed: 0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch 0004-fix-build-with-uClibc.patch 0004-fix-build-with-uClibc.patch 0005-Allow-usage-of-getrpcbynumber-when-getrpcbynumber_r-.patch 0007-sockaddr-h-needs-stddef-h-for-NULL.patch 0008-tirpc-with-pkgconfig.patch Patches modified: 0002-Patch-taken-from-Gentoo.patch 0003-Switch-legacy-index-in-favour-of-strchr.patch 0006-Let-the-configure-script-find-getrpcbynumber-in-libt.patch Patch addedd: 0004-statd-Fix-test-for-foreground-mode.patch Also, change source of the package to git repository (and remove the hash, sourceforce is clearly not a platform which can be trusted nowadays) Rework the startup script to accomodate new rpc.statd The startup scripts now uses rcp.statd -F for a startup in foreground, also we avoid starting it twice, it makes rcp.statd crash the whole script. [Thomas: add patch to fix rpc.statd foreground/daemon mode backported from upstream, and fix the S60nfs init script to not use the -F option of rpc.statd.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nfs_utils: Fix for read-only rootfsMaxime Hadjinlian2015-07-131-12/+2
| | | | | | | | | | | | | In order to work on a read-only rootfs, nfs_utils would like to write stuff to /var/lib/nfs, since it's not a tmpfs, it won't work. Instead of doing little dances around the filesystem, tell nfs_utils to use /run/nfs for everyone. Modify the startup script accordingly. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nfs-utils: create /var/lock/subsysThomas Petazzoni2014-09-061-0/+1
| | | | | | | | | | | The NFS server needs to create files in /var/lock/subsys/, but this directory doesn't exist in our skeleton. This commit makes sure it gets created by the S60nfs startup script, which fixes the operation of the NFS server (tested with rpcbind). Reported-by: Ofer Heifetz <oferh@marvell.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Rename all INIT scripts to have the numerical prefixes to easily see the ↵"Steven J. Hill"2007-05-091-0/+89
start-up order.
OpenPOWER on IntegriCloud