iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shellcheck and fix checkrestart false positive
[distro-setup]
/
dynamic-ip-update
diff --git
a/dynamic-ip-update
b/dynamic-ip-update
index 3ece5b3fa1cb541b4a343d178ca1f51c884319e3..3ba7f34998098fab2ec80be10fdd9b165402ec40 100755
(executable)
--- a/
dynamic-ip-update
+++ b/
dynamic-ip-update
@@
-90,7
+90,8
@@
exit
mkc /p/c/machine_specific/li/filesystem/etc/bind
s dnssec-keygen -a HMAC-SHA512 -b 512 -n HOST b8.nz
-s chown $USER:$USER *
+user=$(id -un)
+s chown $user:$user *
f=key.b8.nz