9 lines
144 B
Plaintext
9 lines
144 B
Plaintext
|
#!/bin/ksh -i
|
||
|
f="$(cat /var/cache/dmark)"
|
||
|
cd "$(dirname "$f")"
|
||
|
|
||
|
owner="$(stat -f %Su "$f")"
|
||
|
doas chown sdk "$f"
|
||
|
vim "$f"
|
||
|
doas chown $owner "$f"
|