diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-05 14:59:43 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-05 15:00:34 -0700 |
commit | a7bd26d39049cf3ac5579b47f1732f07a53f92a4 (patch) | |
tree | 77f910db893edd3a83eacc725d6290ec0a670301 /templates/system/login | |
parent | a1aabca5146203810f008ffcc4198fdd4230b115 (diff) | |
download | vyatta-cfg-system-a7bd26d39049cf3ac5579b47f1732f07a53f92a4.tar.gz vyatta-cfg-system-a7bd26d39049cf3ac5579b47f1732f07a53f92a4.zip |
Turn off TCP SACK
This is a workaround for bug 3313. The problem is that MD5
uses up what little space there for TCP options in header.
Diffstat (limited to 'templates/system/login')
-rw-r--r-- | templates/system/login/user/node.tag/shell/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/system/login/user/node.tag/shell/node.def b/templates/system/login/user/node.tag/shell/node.def new file mode 100644 index 00000000..b1163fdf --- /dev/null +++ b/templates/system/login/user/node.tag/shell/node.def @@ -0,0 +1,8 @@ +type: txt +help: Set command shell +default: fusioncli +syntax:expression: ( $VAR(@) in "fusioncli" "linux" || + exec "if [ -x $VAR(@) -a grep -q $VAR(@) /etc/shells ]; then exit 0; \ + else echo 'Not a valid command shell'; exit 1; fi" +allowed: echo "fusioncli linux" + awk '! /^[ ]*#/ { printf "%s ", $0 }' </etc/shells |