» 2016 » May » 04 の記事

~ nas synology install and setup nano ~

connie 2016.05.04 | Uncategorized | | No Comments

Install Nano

ipkg update
ipkg install nano

nano /opt/etc/nanorc
uncomment the include line

Setup nano Fix bad regex error message

nano fix_bad_regex.sh

#!/bin/bash
NEW="\\\b"
DPATH="/opt/share/nano/*.nanorc"
BPATH="/opt/share/nano/"
[ ! -d $BPATH ] && mkdir -p $BPATH || :
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
    /bin/cp $f "$f.bak"
    sed -i "s/\\\</$NEW/g" "$f"
    sed -i "s/\\\>/$NEW/g" "$f"
   else
    echo "Error: Cannot read $f"
  fi
done

sh fix_bad_regex.sh

 

~ nas synology ipkg install ~

connie 2016.05.04 | Uncategorized | | No Comments
cd /volume1/public

wget http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh

sh syno-e500-bootstrap_1.2-7_powerpc.xsh

ipkg update

 

| HOME |

Smiley face

May 2016
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031