MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/share/hal/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/hal/scripts/hal-system-storage-cleanup-mountpoint
#!/bin/sh

# Copyright (C) 2006, David Zeuthen <davidz@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2.

if [ "$HALD_CLEANUP" = "" ]; then
    echo Specify directory to clean up with the environment variable HALD_CLEANUP
    exit 1
fi

# check if we created it
if [ ! -e "$HALD_CLEANUP/.created-by-hal" ]; then
    exit 1
fi

rm -f "$HALD_CLEANUP/.created-by-hal"
rmdir --ignore-fail-on-non-empty "$HALD_CLEANUP"

Anon7 - 2021