init_single 851 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/sh
  2. . /lib/lsb/init-functions
  3. case ${1} in
  4. start)
  5. do_mount_virtualfs || exit 1
  6. do_load_modules || exit 1
  7. do_start_udev || exit 1
  8. do_start_checkfs || exit 1
  9. do_start_mountfs || exit 1
  10. do_start_localnet
  11. #milis-kur
  12. do_start_clock || exit 1
  13. do_start_cleanfs || exit 1
  14. do_start_udev_retry || exit 1
  15. do_start_swap || exit 1
  16. do_start_console || exit 1
  17. do_start_sysctl || exit 1
  18. bolumleri_bagla || exit 1
  19. log_info_msg "klavye ayarlari eklendi..."
  20. klavye_ayar || exit 1
  21. ;;
  22. stop)
  23. do_stop_clock
  24. do_stop_swap
  25. do_stop_network
  26. do_stop_mountfs
  27. do_stop_localnet
  28. ;;
  29. *)
  30. echo "Usage: ${0} {start|stop}"
  31. exit 1
  32. ;;
  33. esac
  34. exit 0