aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc.in
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-20 16:48:24 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-01-22 11:56:24 -0600
commit6e2fbf6a0fd04f2ba4afca8b7a2ef9af34ebf330 (patch)
treea37362ae0f913e361b1e4dfec9910d7073bfbb36 /init.d/bootmisc.in
parent2990e5a2e3ec06180ebe63448239e1cdad7878dd (diff)
Make checks for writable directory posix compliant
Reported-by: Maxim Kammerer <mk@de.su> X-Gentoo-Bug: 398931 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=398931
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r--init.d/bootmisc.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index ee3c20cc..c3824e02 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -10,11 +10,6 @@ depend()
keyword -prefix -timeout
}
-dir_writable()
-{
- mkdir "$1"/.test.$$ 2>/dev/null && rmdir "$1"/.test.$$
-}
-
: ${wipe_tmp:=${WIPE_TMP:-yes}}
: ${log_dmesg:=${LOG_DMESG:-yes}}