fix SC2148 (missing shebang) and make executable
This commit is contained in:
parent
d49d38481f
commit
a46da35bbc
5 changed files with 5 additions and 0 deletions
1
cdist/conf/explorer/disks
Normal file → Executable file
1
cdist/conf/explorer/disks
Normal file → Executable file
|
@ -1,2 +1,3 @@
|
||||||
|
#!/bin/sh -e
|
||||||
cd /dev
|
cd /dev
|
||||||
echo sd? hd? vd?
|
echo sd? hd? vd?
|
||||||
|
|
1
cdist/conf/explorer/is-freebsd-jail
Normal file → Executable file
1
cdist/conf/explorer/is-freebsd-jail
Normal file → Executable file
|
@ -1 +1,2 @@
|
||||||
|
#!/bin/sh -e
|
||||||
sysctl -n security.jail.jailed 2>/dev/null | grep "1" || true
|
sysctl -n security.jail.jailed 2>/dev/null | grep "1" || true
|
||||||
|
|
1
cdist/conf/explorer/kernel_name
Normal file → Executable file
1
cdist/conf/explorer/kernel_name
Normal file → Executable file
|
@ -1 +1,2 @@
|
||||||
|
#!/bin/sh -e
|
||||||
uname -s
|
uname -s
|
||||||
|
|
1
cdist/conf/type/__daemontools_service/explorer/svc
Normal file → Executable file
1
cdist/conf/type/__daemontools_service/explorer/svc
Normal file → Executable file
|
@ -1 +1,2 @@
|
||||||
|
#!/bin/sh -e
|
||||||
command -v svc || true
|
command -v svc || true
|
||||||
|
|
1
cdist/conf/type/__go_get/explorer/go-executable
Normal file → Executable file
1
cdist/conf/type/__go_get/explorer/go-executable
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/bin/sh -e
|
||||||
[ -f /etc/environment ] && . /etc/environment
|
[ -f /etc/environment ] && . /etc/environment
|
||||||
[ -f /etc/profile ] && . /etc/profile
|
[ -f /etc/profile ] && . /etc/profile
|
||||||
go version 2>/dev/null || true
|
go version 2>/dev/null || true
|
||||||
|
|
Loading…
Reference in a new issue