mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 06:51:04 +01:00
8 lines
165 B
Django/Jinja
8 lines
165 B
Django/Jinja
#! /bin/sh
|
|
|
|
env >>/tmp/test.log
|
|
file "/sys${DEVPATH}" >>/tmp/test.log
|
|
|
|
if [ "${ACTION}" = add -a -d "/sys${DEVPATH}" ]; then
|
|
echo "add ${DEVPATH}" >>/tmp/test.log
|
|
fi |