diff options
| author | Roy Marples <roy@marples.name> | 2007-09-19 11:53:35 +0000 | 
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-09-19 11:53:35 +0000 | 
| commit | 987c72f12f41b8108447810fe84fd9f16e6d29d7 (patch) | |
| tree | ff656af54b2390069ad041384981f1f0a1e02681 | |
| parent | 5248fb52fa428f2a966a10d0db8991ef26c96b02 (diff) | |
| download | openrc-987c72f12f41b8108447810fe84fd9f16e6d29d7.tar.xz | |
--opts to --options
| -rwxr-xr-x | init.d/netmount | 2 | ||||
| -rw-r--r-- | src/fstabinfo.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/init.d/netmount b/init.d/netmount index 2b0af2fe..c0f3e9f8 100755 --- a/init.d/netmount +++ b/init.d/netmount @@ -8,7 +8,7 @@ have_nfs() {  	local IFS=\n x=  	set -- $(fstabinfo --fstype nfs,nfs4)  	for x in "$@" ; do -		! fstabinfo --opts "${x}" | grep -q noauto && return 0  +		! fstabinfo --options "${x}" | grep -q noauto && return 0   	done  	return 1  } diff --git a/src/fstabinfo.c b/src/fstabinfo.c index eecaf8a0..922a0c9a 100644 --- a/src/fstabinfo.c +++ b/src/fstabinfo.c @@ -62,7 +62,7 @@ static struct mntent *getmntfile (FILE *fp, const char *file)  static struct option longopts[] = {  	{ "fstype",         1, NULL, 'f'},  	{ "mountcmd",       1, NULL, 'm'}, -	{ "opts",           1, NULL, 'o'}, +	{ "options",        1, NULL, 'o'},  	{ "passno",         1, NULL, 'p'},  	longopts_COMMON  	{ NULL,             0, NULL, 0}  | 
