shidianxia
V2EX  ›  问与答

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

  •  
  •   shidianxia · Mar 15, 2013 · 3919 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   ·   861 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:25 · PVG 04:25 · LAX 13:25 · JFK 16:25
    ♥ Do have faith in what you're doing.