diff --git a/bsp/default/root_file_system/etc/profile b/bsp/default/root_file_system/etc/profile index 4bfa5c50..0e9ad14f 100644 --- a/bsp/default/root_file_system/etc/profile +++ b/bsp/default/root_file_system/etc/profile @@ -13,6 +13,9 @@ export HOME=${HOME:-/root} [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; } [ -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 alias ..='cd ..' alias ...='cd ../..' @@ -22,4 +25,4 @@ alias ll='ls -alF' alias ls='ls --color=auto' # and color my prompt -export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' \ No newline at end of file +export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '