openrc.post-upgrade 186 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#!/bin/sh

# in 0.5.x the state dir moved from /lib/rc/init.d to /libexec/rc/init.d

[ -d /lib/rc/init.d ] || exit 0

mv /lib/rc/init.d/* /libexec/rc/init.d/
rmdir /lib/rc/init.d
exit 0