V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
shidianxia
V2EX  ›  问与答

Debian 6中似乎系统启动脚本无法生效,怎么破?

  •  
  •   shidianxia · 2013-03-15 16:07:17 +08:00 · 3055 次点击
    这是一个创建于 4051 天前的主题,其中的信息可能已经有所发展或是发生改变。
    新建文件 /etc/network/if-pre-up.d/iptables
    Add these lines to it:
    #!/bin/bash
    /sbin/iptables-restore < /etc/iptables.up.rules

    chmod +x /etc/network/if-pre-up.d/iptables

    以上reboot,无效

    /etc/rc.local 中添加脚本 reboot,无效
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5533 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 06:38 · PVG 14:38 · LAX 23:38 · JFK 02:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.