Merge pull request #701 from tom-ee/fix-SC2148
fix SC2148 (missing shebang) and make executable
This commit is contained in:
commit
a2ed14b6d0
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
|
||||
cd /dev
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
[ -f /etc/environment ] && . /etc/environment
|
||||
[ -f /etc/profile ] && . /etc/profile
|
||||
go version 2>/dev/null || true
|
||||
|
|
Loading…
Reference in a new issue