找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4962|回复: 7

mono的相当于rc.local或 rc.conf在那个目录里

[复制链接]
发表于 2005-3-2 11:32:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
那位知道mono的相当于rc.local或 rc.conf在那个目录里还有在mono 里相当于find 的是什么???谢谢
routeros
发表于 2005-3-2 11:47:03 | 显示全部楼层
你要实现什么功能?我们一下在配置文件里手工写进去,这样可以实现开机自动运行之类的功能。
routeros
回复

使用道具 举报

 楼主| 发表于 2005-3-2 13:00:50 | 显示全部楼层
要开机就运行的 想在LAN口加别的地址。
routeros
回复

使用道具 举报

发表于 2005-3-2 14:09:15 | 显示全部楼层
把配置文件download下来,然后把要自动执行的命令加在下面红色的标记之间。标准的config.xml是没有的标记的,需要自己添加。

QUOTE
- <!--  m0n0wall default system configuration   --> -   1.4 -   m0n0wall   local         admin   $1$2xGLA75j$W/jiJc00HYBZX7kFjxjQv0   Etc/UTC   300   pool.ntp.org -   http - <!--                                                               -->   - <!--     --> - <!--     --> - <!--   --> - <!--     -->   - -   sis0   192.168.1.1   24 - <!--               *see below (opt[n])*                      -->   -   sis1      dhcp - <!--  *or* ipv4-address *or* 'pppoe' *or* 'pptp' *or* 'bigpond'   -->             - <!--               *see below (opt[n])*                      -->   - <!--                                                               lan|wan|opt[n]              hostap *or* bss *or* ibss                                                                                -->   - <!--                                                             --> - - <!--             lan|opt[n]|pptp          xxx.xxx.xxx.xxx/xx          xxx.xxx.xxx.xxx                -->   -            -                  -                  - - <!--     -->   dyndns             - <!--     -->   - -    -   192.168.1.100   192.168.1.199   - <!--           xxx.xxx.xxx.xxx                                -->   - <!--             ...      --> - <!--             xx:xx:xx:xx:xx:xx          xxx.xxx.xxx.xxx                -->   - - - <!--  off *or* server *or* redir   -->            - <!--                             -->   -    - <!--                                                 -->   - - <!--     -->         public   - - - <!--     -->        - - <!--     -->   - - <!--       xxx.xxx.xxx.xxx            -->   - <!--             lan|opt[n]  minutes  minutes                                                        --> - - <!--                                                                               --> - <!--                       xxx.xxx.xxx.xxx          xxx.xxx.xxx.xxx                          --> - <!--                                           xxx.xxx.xxx.xxx/xx                                            *or*            xxx.xxx.xxx.xxx/xx        xxx.xxx.xxx.xxx                    --> - <!--                             -->   - -   pass   Default LAN -> any   lan -   lan   -        - <!--  rule syntax:                      pass|block|reject          ...          lan|opt[n]|wan|pptp          tcp|udp|tcp/udp|...                      xxx.xxx.xxx.xxx(/xx) or alias    *or*    lan|opt[n]|pptp    *or*            a[-b]                        *same as for source*                                    -->   - - <!--     --> - <!--  rule syntax:                                          number (zero based)          *or*          number (zero based)                    lan|wan|opt[n]|pptp          tcp|udp          in|out                      xxx.xxx.xxx.xxx(/xx)    *or*    lan|opt[n]|pptp    *or*            a[-b]                        *same as for source*                              from[-to]          (!)lowdelay,throughput,reliability,mincost,congestion          (!)fin,syn,rst,psh,ack,urg                                            source|destination                        number (zero based)                    source|destination      -->   - - <!--     --> - <!--  syntax:                                          lan|wan|opt[n]              xxx.xxx.xxx.xxx(/xx)    *or*    lan|opt[n]                    xxx.xxx.xxx.xxx/xx                                                    *or*            xxx.xxx.xxx.xxx            *or*            the.fq.dn                                                                                                                                  *or*            xxx.xxx.xxx.xxx            *or*            the.fq.dn                                                                                                    -->   - - <!--                       xxx.xxx.xxx.xxx(/xx)                -->   - - <!--             xxx.xxx.xxx.xxx/xx          *or*              xxx.xxx.xxx.xxx    xxx.xxx.xxx.xxx                -->   - - <!--             lan|opt[n]          xx:xx:xx:xx:xx:xx                -->
routeros
回复

使用道具 举报

 楼主| 发表于 2005-3-2 17:08:34 | 显示全部楼层
analyst 谢谢你的帮忙文件改好了 但上传时候提示 $ cp /tmp/config.xml /conf/config.xmlcp: /conf/config.xml: Read-only file system改权限也不行$ chmod 777 /conf/config.xmlchmod: /conf/config.xml: Read-only file system
routeros
回复

使用道具 举报

 楼主| 发表于 2005-3-2 20:35:29 | 显示全部楼层
把改好的 config.xml   从这里上去就可以
______.png
routeros
回复

使用道具 举报

发表于 2005-3-2 21:23:40 | 显示全部楼层
那是因为你要修改的地方是用readonly的方式mount的,其实不要自己cp的,在管理页面里面restore配置文件就可以了。
routeros
回复

使用道具 举报

 楼主| 发表于 2005-3-2 21:33:07 | 显示全部楼层
已经改好了  谢谢你了
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-9-19 09:00 , Processed in 0.063127 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表