Merge pull request #701 from tom-ee/fix-SC2148

fix SC2148 (missing shebang) and make executable
This commit is contained in:
Darko Poljak 2018-10-04 18:46:38 +02:00 committed by GitHub
commit a2ed14b6d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

1
cdist/conf/explorer/disks Normal file → Executable file
View file

@ -1,2 +1,3 @@
#!/bin/sh
cd /dev
echo sd? hd? vd?

1
cdist/conf/explorer/is-freebsd-jail Normal file → Executable file
View 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
View file

@ -1 +1,2 @@
#!/bin/sh
uname -s

1
cdist/conf/type/__daemontools_service/explorer/svc Normal file → Executable file
View file

@ -1 +1,2 @@
#!/bin/sh
command -v svc || true

1
cdist/conf/type/__go_get/explorer/go-executable Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/bin/sh
[ -f /etc/environment ] && . /etc/environment
[ -f /etc/profile ] && . /etc/profile
go version 2>/dev/null || true