X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Fcleanfs;h=48c2fdc1282d1ddb76dcc41af05a88e732cb6f0c;hb=0d0d7090b3b9f64c6ca0c6708b2f4c73f4551689;hp=33168dae9e802bf0130e75bc5f129f42fa094415;hpb=c2994416b30ad7eaef7e592c4c07e8cf8426b4b7;p=hvlinux.git diff --git a/stage1/bootscripts/cleanfs b/stage1/bootscripts/cleanfs index 33168da..48c2fdc 100755 --- a/stage1/bootscripts/cleanfs +++ b/stage1/bootscripts/cleanfs @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # cleanfs # Clean file system @@ -21,8 +21,8 @@ clean_files() cd /var/run && find . ! -type d ! -name utmp ! -newer /proc -exec rm -f {} \; || failed=1 - if [ -d /home/named ]; then - cd /home/named/var/run && + if [ -d /srv/named ]; then + cd /srv/named/var/run && find . ! -type d ! -name utmp ! -newer /proc -exec rm -f {} \; || failed=1 fi