if [ -f /haltcheck ]; then clear echo "AutoFsck v3.1 - 27th November 2007" echo "by Jonathan Musther - jmusther@gmail.com" echo "Released under the GNU General Public License version 3 or later." echo "-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --" echo "AutoFsck will now run checks on your filesystems before" echo "powering off your machine. This may take some time." echo fsck -f -C -y exit
Hat noch nicht mal 5 Minuten gedauert .
https://wiki.ubuntu.com/AutoFsck/
ftp://heanet.dl.sourceforge.net/pub/sourceforge/a/au/autofsck/
if [ -f /haltcheck ]; then
clear
echo "AutoFsck v3.1 - 27th November 2007"
echo "by Jonathan Musther - jmusther@gmail.com"
echo "Released under the GNU General Public License version 3 or later."
echo "-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --"
echo "AutoFsck will now run checks on your filesystems before"
echo "powering off your machine. This may take some time."
echo
fsck -f -C -y
exit