diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-29 14:45:17 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-29 14:45:17 +0000 |
commit | 06db9d4d681e552e0d4803e76becace707a72f12 (patch) | |
tree | 9fcda51789a0d72362e040d9eafbe63b44fba0ef | |
parent | 9e0948ab2fb00467a6685f27290b216ef503df11 (diff) | |
download | plan9front-06db9d4d681e552e0d4803e76becace707a72f12.tar.xz |
cwfs: back to previous version
-rw-r--r-- | sys/src/cmd/cwfs/config.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/src/cmd/cwfs/config.c b/sys/src/cmd/cwfs/config.c index ec9410749..6dcc6f4dc 100644 --- a/sys/src/cmd/cwfs/config.c +++ b/sys/src/cmd/cwfs/config.c @@ -440,7 +440,9 @@ mergeconf(Iobuf *p) if(service[0] == 0) strncpy(service, word, sizeof service); } else if(strcmp(word, "noauth") == 0){ + noauth = 1; } else if(strcmp(word, "readonly") == 0){ + readonly = 1; } else if(strcmp(word, "ipauth") == 0) /* obsolete */ cp = getwrd(word, cp); else if(astrcmp(word, "ip") == 0) /* obsolete */ @@ -978,18 +980,15 @@ arginit(void) } if(strcmp(word, "noattach") == 0) { noattach = !noattach; - print("attach is now %s\n", noattach ? "disallowed" : "allowed"); continue; } if(strcmp(word, "noauth") == 0) { noauth = !noauth; - print("auth is now %s\n", noauth ? "disabled" : "enabled"); f.modconf = 1; continue; } if(strcmp(word, "readonly") == 0) { readonly = !readonly; - print("filesystem is now %s\n", readonly ? "readonly" : "writable"); f.modconf = 1; continue; } |