#!/bin/bash
# Author: Steven Shiau <steven _at_ clonezilla org>
# License: GPL

### BEGIN INIT INFO
# Provides:          start-gparted-live
# Required-Start:    $local_fs $all
# Required-Stop:
# X-Start-Before:    
# Default-Start:     2
# Default-Stop:
### END INIT INFO

# To avoid there is no input output in rc running, we add this one:
exec </dev/console >/dev/console 2>&1

[ ! -d "/etc/gparted-live/gparted-live.d/" ] && exit 1
for script in /etc/gparted-live/gparted-live.d/S[0-9][0-9]*; do
  $script
done
