Mercurial > vanilla
comparison core/rc/rc.init @ 1091:b7264d4a5172
core/rc: no ldconfig in musl
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 06 Sep 2019 21:05:00 +0200 |
parents | 2bac0c29807f |
children | 4088afe6988e |
comparison
equal
deleted
inserted
replaced
1090:1c119dbea5e6 | 1091:b7264d4a5172 |
---|---|
93 swapon -a | 93 swapon -a |
94 | 94 |
95 # Clean pid files before starting any services. | 95 # Clean pid files before starting any services. |
96 find /var/run -type f -name "*.pid" -delete | 96 find /var/run -type f -name "*.pid" -delete |
97 | 97 |
98 # Update shared library caches. | |
99 ldconfig | |
100 | |
101 if [ -n "$TIMEZONE" ] && [ "$TIMEZONE" != "UTC" ]; then | 98 if [ -n "$TIMEZONE" ] && [ "$TIMEZONE" != "UTC" ]; then |
102 echo -n "Setting timezone: " | 99 echo -n "Setting timezone: " |
103 | 100 |
104 if [ -f /share/zoneinfo/$TIMEZONE ]; then | 101 if [ -f /share/zoneinfo/$TIMEZONE ]; then |
105 ln -sf /share/zoneinfo/$TIMEZONE /etc/localtime | 102 ln -sf /share/zoneinfo/$TIMEZONE /etc/localtime |