treewide: Update webui password on password change
Fixes: #11 Signed-off-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
parent
7e552761f6
commit
256df08949
|
@ -13,6 +13,9 @@ export HOME=${HOME:-/root}
|
||||||
[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
|
[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
|
||||||
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
|
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
|
||||||
|
|
||||||
|
# update uhttpd passwd on passwd-change
|
||||||
|
[ -e /etc/rc.d/S50uhttpd ] && passwd() { /bin/passwd && /etc/init.d/uhttpd restart; }
|
||||||
|
|
||||||
# I'm lazy, let's add some aliases
|
# I'm lazy, let's add some aliases
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
|
@ -22,4 +25,4 @@ alias ll='ls -alF'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
|
|
||||||
# and color my prompt
|
# and color my prompt
|
||||||
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
|
|
Loading…
Reference in New Issue