projects
/
scripts
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reload config via killall -HUP $BINARY
[scripts/scripts.git]
/
unreal_update.sh
diff --git
a/unreal_update.sh
b/unreal_update.sh
index
7fc09c9
..
876484c
100755
(executable)
--- a/
unreal_update.sh
+++ b/
unreal_update.sh
@@
-13,5
+13,5
@@
NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`"
cat $CONFIGDIR/unrealircd.conf | \
sed "s/.* HDWTAG .*/hostname ::ffff:$NEWIP; \/* HDWTAG *\//" > $CONFIGDIR/temp
mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf
-$BINDIR/$BINARY rehash
+killall -HUP $BINARY