mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 22:51:05 +01:00
8 lines
165 B
Plaintext
8 lines
165 B
Plaintext
|
#! /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
|