めも:openwrt

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
めも:openwrt [2022/01/02 19:50] rausrausめも:openwrt [2022/10/02 09:24] (現在) rausraus
行 28: 行 28:
 0 13 * * 1 opkg update && opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade 自動アップデート日曜 0 13 * * 1 opkg update && opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade 自動アップデート日曜
 0 */1 * * * ping -c 1 8.8.8.8 > /dev/null 2>&1 || (echo "no response" | reboot) 自動再起動 0 */1 * * * ping -c 1 8.8.8.8 > /dev/null 2>&1 || (echo "no response" | reboot) 自動再起動
 +
 +autosshでトンネルほる(ssh接続保持)
 +START=80
 +
 +boot() {
 +        return
 +}
 +
 +start() {
 +        /usr/sbin/autossh -M 0 -N -F /root/.ssh/config newind &
 +}
 +
 +stop() {
 +        service_stop /usr/sbin/autossh
 +}

この項目はまだ存在しません

この項目はまだ作成されていません。もし、文書作成の権限がある場合は、文書の作成をクリックして最初の文書を作成することができます。

  • めも/openwrt.1641120605.txt.gz
  • 最終更新: 2022/01/02 19:50
  • by rausraus