forked from ungleich-public/cdist
improve checkpoint sed, add __line changes
This commit is contained in:
parent
6243165645
commit
7d8fc8a5c3
4 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
2
cdist/conf/type/__line/parameter/boolean
Normal file
2
cdist/conf/type/__line/parameter/boolean
Normal file
|
@ -0,0 +1,2 @@
|
|||
create
|
||||
ifexists
|
1
cdist/conf/type/__line/parameter/default/create
Normal file
1
cdist/conf/type/__line/parameter/default/create
Normal file
|
@ -0,0 +1 @@
|
|||
false
|
1
cdist/conf/type/__line/parameter/default/ifexists
Normal file
1
cdist/conf/type/__line/parameter/default/ifexists
Normal file
|
@ -0,0 +1 @@
|
|||
false
|
Loading…
Reference in a new issue