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