]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core177: Fix typo in removing rngd init links
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Jul 2023 16:21:12 +0000 (16:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Jul 2023 16:21:12 +0000 (16:21 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/177/update.sh

index 2347afbdba8ff03473e081faf312fecc0edde0ae..52ef205b0930bb4f8a0e99fec4a9272c8798c3ec 100644 (file)
@@ -99,11 +99,11 @@ rm -f \
 
 # remove old rngd if the addon is not installed
 if [ ! -e "/opt/pakfire/db/installed/meta-rng-tools" ]; then
-       rm -rf  /usr/bin/randstat \
+       rm -fv /usr/bin/randstat \
                /usr/bin/rngtest \
                /usr/sbin/rngd \
                /etc/rc.d/init.d/rngd \
-               /etc/rc.d/rc?.d/*rmgd
+               /etc/rc.d/rc?.d/*rngd
 fi
 
 # Extract files
@@ -177,4 +177,3 @@ sync
 
 # Don't report the exitcode last command
 exit 0
-