This commit is contained in:
milisbir 2016-04-15 18:55:51 +00:00
parent df50345543
commit 0ef38bdeca
2 changed files with 17 additions and 4 deletions

View File

@ -17,6 +17,7 @@ case ${1} in
do_start_swap || exit 1 do_start_swap || exit 1
do_start_console || exit 1 do_start_console || exit 1
do_start_sysctl || exit 1 do_start_sysctl || exit 1
bolumleri_bagla || exit 1
klavye_ayar || exit 1 klavye_ayar || exit 1
;; ;;
stop) stop)

View File

@ -1369,6 +1369,18 @@ do_start_sysctl()
fi 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() # # klavye_ayar() #
# # # #
# Description : klavye ayarlama # # Description : klavye ayarlama #
@ -1444,7 +1456,7 @@ do_start_network()
echo "$WICD_PIDFILE, check the ${NETWORKCONFIG_FILE} file" echo "$WICD_PIDFILE, check the ${NETWORKCONFIG_FILE} file"
echo "and try again" echo "and try again"
else else
log_info_msg "Starting the wicd Daemon..." log_info_msg "Baslatiliyor the wicd Daemon..."
start_daemon /usr/bin/wicd 1>/dev/null start_daemon /usr/bin/wicd 1>/dev/null
evaluate_retval evaluate_retval
if grep -v ^# /etc/fstab | grep _netdev > /dev/null; then if grep -v ^# /etc/fstab | grep _netdev > /dev/null; then
@ -1460,7 +1472,7 @@ do_start_network()
fi fi
fi fi
done done
log_success_msg2 "Network successfully configured..." log_success_msg2 "Ag duzgun ayarlandi..."
fi fi
fi fi
else else