9 lines
144 B
Bash
Executable File
9 lines
144 B
Bash
Executable File
#!/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"
|