Skip to content

Instantly share code, notes, and snippets.

@jbonney
Created August 28, 2013 17:47
Show Gist options
  • Select an option

  • Save jbonney/6369001 to your computer and use it in GitHub Desktop.

Select an option

Save jbonney/6369001 to your computer and use it in GitHub Desktop.
Synology upgrade. Files to verify and update.
# File /root/.profile
umask 022
PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
export PATH
#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
# stty erase
#fi
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
PS1="`hostname`> "
alias dir="ls -al"
alias ll="ls -la"
# File /etc/rc.local
#!/bin/sh
mount -o bind /volume1/@optware /opt
# Optware setup
[ -x /etc/rc.optware ] && /etc/rc.optware start
exit 0
ipkg update
ipkg upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment