mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
also * enable paranoia for -user/-group options * fix install scripts * import new init.d script * add missing dirs * move dhclient to a separate subpackage Fixes #110
20 lines
345 B
Bash
20 lines
345 B
Bash
#!/bin/sh
|
|
|
|
# we have renamed dhcp to dhcpd. Try cleanup for users
|
|
|
|
moved=
|
|
for i in /etc/runlevel/*/dhcp; do
|
|
if [ -L "$i" ]; then
|
|
rm $i
|
|
ln -s /etc/init.d/clamsmtpd ${i}d
|
|
moved=1
|
|
fi
|
|
done
|
|
|
|
if [ -n "$moved" ]; then
|
|
echo " *"
|
|
echo " * NOTICE: the /etc/init.d/dhcp script have been renamed to /etc/init.d/dhcpd"
|
|
echo " *"
|
|
fi
|
|
|