Petter Holt Juliussen • Mail | Mastodon | GitHub | Letterboxd

for later reference.

Synology

2019-04-04

Fix IPKG paths after system update

/etc/rc.local:

#!/bin/sh
mount -o bind /volume1/@optware /opt
# Optware setup
[ -x /etc/rc.optware ] && /etc/rc.optware start
exit 0

/root/.profile:

PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:…..

Reboot. IPKG and other services residing in /opt should now work again.