思绪的空中生活

N1 armbian 断线自动重拨 pppoe
vi auto_pppd.sh#!/bin/sh status=`ifconfig | grep 'ppp0'` ...
扫描右侧二维码阅读全文
06
2020/05

N1 armbian 断线自动重拨 pppoe

vi auto_pppd.sh

#!/bin/sh
status=`ifconfig | grep 'ppp0'`
if [[ $status = "" ]]
then
    poff -a
    pon dsl-provider
fi    

chomd +x auto_pppd.sh
添加定时任务1分钟1次

相关文章:

  • N1将armbian刷入emmc
  • debian 10 换源
  • Last modification:May 6th, 2020 at 10:40 pm
    If you think my article is useful to you, please feel free to appreciate

    Leave a Comment