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
5c536f2
..
876484c
100755
(executable)
--- a/
unreal_update.sh
+++ b/
unreal_update.sh
@@
-11,7
+11,7
@@
NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`"
# HDWTAG dirty ... but easy :)
cat $CONFIGDIR/unrealircd.conf | \
# HDWTAG dirty ... but easy :)
cat $CONFIGDIR/unrealircd.conf | \
- sed "s/.* HDWTAG .*/hostname
$NEWIP \/* HDWTAG *\//" > $CONF
DIR/temp
+ sed "s/.* HDWTAG .*/hostname
::ffff:$NEWIP; \/* HDWTAG *\//" > $CONFIG
DIR/temp
mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf
mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf
-$BINDIR/$BINARY rehash
+killall -HUP $BINARY