# 软路由t t y d

## 1、编辑ttyd代码

```
 vi /etc/init.d/ttyd
```

{% hint style="success" %}
&#x20;技巧：输入/ 来搜索字符串  ，然后输入N 可以查找下一处，在输入N可以查找下下处
{% endhint %}

## 2、注释代码

{% code title="将此行代码注释掉，注释符号为 # 如下所示" %}

```css
# ${interface:+-i $interface} \
```

{% endcode %}

## 3、重启ttyd

```css
 /etc/init.d/ttyd restart 
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://didiboy0702.gitbook.io/wukongdaily/wan-ke-yun-ji-qiao/qi-ta-jiao-cheng.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
