shidianxia
V2EX  ›  问与答

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

  •  
  •   shidianxia · Mar 15, 2013 · 3917 views
    This topic created in 4831 days ago, the information mentioned may be changed or developed.
    新建文件 /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,无效
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2646 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 11:50 · PVG 19:50 · LAX 04:50 · JFK 07:50
    ♥ Do have faith in what you're doing.