improve checkpoint sed, add __line changes

This commit is contained in:
stephan 2022-07-28 17:18:41 +02:00
parent 6243165645
commit 7d8fc8a5c3
4 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@
set +e
case "$("$__explorer/os")" in
checkpoint)
cat /etc/cp-release|sed -e 's/.* R\([1-9][0-9]*\)\.[0-9]*$/\1/'
sed /etc/cp-release -e 's/.* R\([1-9][0-9]*\)\.[0-9]*$/\1/'
;;
openwrt)
# shellcheck disable=SC1091

View File

@ -0,0 +1,2 @@
create
ifexists

View File

@ -0,0 +1 @@
false

View File

@ -0,0 +1 @@
false