#!/bin/bash

echo "Initng seems to segfaulted."
echo
echo "You have now a chanse to sulogin for 60 seconds."
echo "when sulogin exits or timeout, initng will restart,"
echo "and hopefully if /var/active_db_save exits, it may"
echo "reload sucessfully."
echo
echo "Please report this segfault to initng team."
echo " bugzilla.initng.thinktux.net "
echo " initng@initng.tinktux.net"
echo
/sbin/sulogin -t 60
exec /sbin/initng --hot_reload
