From 0ef38bdeca1d3ac48b682f106ef6a3ee87c95053 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 15 Apr 2016 18:55:51 +0000 Subject: [PATCH] otomount --- rootfs/etc/rc.d/init.d/init_single | 5 +++-- rootfs/lib/services/init-functions | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/rootfs/etc/rc.d/init.d/init_single b/rootfs/etc/rc.d/init.d/init_single index eef1e9def..78dca5504 100755 --- a/rootfs/etc/rc.d/init.d/init_single +++ b/rootfs/etc/rc.d/init.d/init_single @@ -9,14 +9,15 @@ case ${1} in do_start_udev || exit 1 do_start_checkfs || exit 1 do_start_mountfs || exit 1 - do_start_localnet - #milis-kur + do_start_localnet + #milis-kur do_start_clock || exit 1 do_start_cleanfs || exit 1 do_start_udev_retry || exit 1 do_start_swap || exit 1 do_start_console || exit 1 do_start_sysctl || exit 1 + bolumleri_bagla || exit 1 klavye_ayar || exit 1 ;; stop) diff --git a/rootfs/lib/services/init-functions b/rootfs/lib/services/init-functions index c0a9c6703..2918c9eca 100644 --- a/rootfs/lib/services/init-functions +++ b/rootfs/lib/services/init-functions @@ -1369,6 +1369,18 @@ do_start_sysctl() fi } ################################################################################ +# bolumleri_bagla() # +# # +# Description : disk bolumlerinin otomatik baglanması # +# # +################################################################################ +bolumleri_bagla() +{ + if [ -f /usr/bin/devmon ]; then + devmon --internal 2>&1 > /tmp/devmon.log & + fi +} +################################################################################ # klavye_ayar() # # # # Description : klavye ayarlama # @@ -1444,7 +1456,7 @@ do_start_network() echo "$WICD_PIDFILE, check the ${NETWORKCONFIG_FILE} file" echo "and try again" else - log_info_msg "Starting the wicd Daemon..." + log_info_msg "Baslatiliyor the wicd Daemon..." start_daemon /usr/bin/wicd 1>/dev/null evaluate_retval if grep -v ^# /etc/fstab | grep _netdev > /dev/null; then @@ -1460,7 +1472,7 @@ do_start_network() fi fi done - log_success_msg2 "Network successfully configured..." + log_success_msg2 "Ag duzgun ayarlandi..." fi fi else