dialup.sh.example

来自「VDR softcam plugin 0.9.1」· EXAMPLE 代码 · 共 25 行

EXAMPLE
25
字号
#!/bin/bash## This script is called from VDR to start/stop dialup-network## argument 1: wanted action, one of start,stop#RUN="/var/tmp/vdr.dialup.run"action="$1"case "$action" inup)  up ppp0  touch "$RUN"  sleep 2  ;;down)  down ppp0  rm -f "$RUN"  ;;esacexit 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?