* INSTALL scripts don't need to be executable * anything installed by vbin is set to 755 * many of these files were otherwise marked executable in the template (vinstall, chmod, etc) * some had no business being executable, like the smattering of patches and other files * remove files from chroot-distcc no longer used in the template (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
16 lines
265 B
Bash
16 lines
265 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$(id -u)" -ne 0 ]; then
|
|
echo "$0 runs as root"
|
|
exit 1
|
|
fi
|
|
|
|
LOG_FILE=${LOG_FILE:=/var/log/wpa.log}
|
|
|
|
if [ ! -f ${LOG_FILE} ]; then
|
|
echo "interface,ssid,id_str,event,epoch" > ${LOG_FILE}
|
|
fi
|
|
|
|
echo "$1,$2,$3,$4,$(date +%s)" >> ${LOG_FILE}
|