diff options
Diffstat (limited to 'busybox.pkg/prerm')
-rwxr-xr-x | busybox.pkg/prerm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm index a726c63..6f7635d 100755 --- a/busybox.pkg/prerm +++ b/busybox.pkg/prerm @@ -1,7 +1,7 @@ #!/bin/sh if [ "x${1}" = 'xupgrade' ]; then - if [ -e /usr/share/busybox/init-scripts ]; then + if [ -f /usr/share/busybox/init-scripts ]; then while read script; do "/etc/init.d/${script}" stop done </usr/share/busybox/init-scripts |