aboutsummaryrefslogtreecommitdiffstats
path: root/core/openrc/openrc.post-upgrade
blob: b09f2f240c8397b3464f691bf39a861a373be1b1 (plain)
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