diff --git a/scripts/resize2fs b/scripts/resize2fs index ca65eef94e..e56da6ed49 100644 --- a/scripts/resize2fs +++ b/scripts/resize2fs @@ -5,8 +5,8 @@ # Required-Start: $local_fs # Required-Stop: # Should-Start: -# Default-Start: S -# Default-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 # Short-Description: Resize the root filesystem to fill partition # Description: ### END INIT INFO @@ -17,9 +17,9 @@ N=/etc/init.d/resize2fs case "$1" in start) - /sbin/resize2fs /dev/mmcblk0p1 && - /sbin/insserv -r resize2fs && - rm $N + echo "Resizing SD card file-system..." + /sbin/resize2fs /dev/mmcblk0p1 2>/dev/null + /sbin/insserv -r resize2fs ;; *) echo "Usage: $N {start}" >&2