ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] çÌÀË Ó EOF
@ 2002-04-03 16:43 Èëüÿ Ìåíüøèõ
  2002-04-03 16:46 ` [mdk-re] Глюк с EOF Korshunov Ilya
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Èëüÿ Ìåíüøèõ @ 2002-04-03 16:43 UTC (permalink / raw)
  To: mandrake-russian

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

Здравствуйте!

Помогите пожалуйста понять, что я делаю не правильно.
В процессе поднятия на шлюзе сервисов правлю конфиги, 
в результате этого получаю
unexpected end of file
Самое интересное, что конец есть, специально оставлял 
пустую строку. И mcedit и vi об этом сообщают. А 
сервисы не запускаются. В аттаче пример такого конфига.
Со знакомым посоветовался - он тоже не понял. 
Просветите плиз.

--
Илья
PS. Система мастер бета, чуть заправленная сизифом. 
Пользовательская локаль 1251, рута - default

[-- Attachment #2: sensors --]
[-- Type: text/plain, Size: 587 bytes --]

#!/bin/bash
#
# chkconfig: 2345 25 15
# description: init my VIA686 sensors (c) Michael Shigorin

# source function library
. /etc/rc.d/init.d/functions

RETVAL=0

case "$1" in
    start)
	echo -n "Configuring hardware monitoring: "
	modprobe i2c-viapro && \
	modprobe w83781d
	RETVAl=$?
	echo
	;;
    stop)
	echo -n "Disabling hardware monitoring: "
	rmmod i2c-viapro && \
	rmmod w38781d
	RETVAL=$?
	;;
    restart|reload)
	$0 stop
	$0 start
	RETVAL=$?
	;;
    status)
	sensors
	RETVAL=$?
	;;
    *)
	echo "Usage: sensors {start|stop|status|restart|reload}"
	exit 1
exac

exit $RETVAL


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-03 22:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-03 16:43 [mdk-re] çÌÀË Ó EOF Èëüÿ Ìåíüøèõ
2002-04-03 16:46 ` [mdk-re] Глюк с EOF Korshunov Ilya
2002-04-03 16:49 ` Sergey Vlasov
2002-04-03 16:49 ` [mdk-re] " Artem Pastuchov
2002-04-03 17:10 ` Aleksey Novodvorsky
2002-04-03 22:52 ` Vitaly Lipatov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git