mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
core110: remove avahi from system and pakfire db
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -47,6 +47,13 @@ ldconfig
|
||||
# Remove deprecated options
|
||||
sed -e "/^RSAAuthentication/d" -i /etc/ssh/sshd_config
|
||||
|
||||
# Remove avahi from system and pakfire db
|
||||
for i in $(cat /opt/pakfire/db/rootfiles/avahi); do
|
||||
rm -rfv /${i}
|
||||
done
|
||||
rm -fv /opt/pakfire/db/rootfiles/avahi
|
||||
rm -fv /opt/pakfire/db/*/meta-avahi
|
||||
|
||||
# Start services
|
||||
/etc/init.d/unbound start
|
||||
/etc/init.d/sshd restart
|
||||
|
||||
Reference in New Issue
Block a user