Date: Thu, 24 Jun 2021 18:04:36 +0900 (JST) From: Masachika ISHIZUKA <ish@amail.plala.or.jp> To: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 96818] =?iso-2022-jp?b?Z2dhdGVjGyRCJE4bKEJzdG9wIHNjcmlwdCAod2FzOiBSZTog?= =?iso-2022-jp?b?Y2hmbGFncyB1YXJjaCgbJEIlIiE8JSslJCVWJVUlaSUwGyhCKQ==?= =?iso-2022-jp?b?GyRCJEskRCQkJEYbKEIp?= Message-ID: <20210624.180436.2091781412757794407.ish@amail.plala.or.jp> In-Reply-To: <20210624.142450.1298938294549555679.ish@amail.plala.or.jp> References: <20210623.090033.1629542150460282678.ish@amail.plala.or.jp> <20210623220245.dbb63d07fd7aa32a8729c6b1@j.email.ne.jp> <20210624.142450.1298938294549555679.ish@amail.plala.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
$BB@EDMM(B $B@PDM!w?yJB$G$9!#(B ggatec$B$O$H$C$F$b2wE,$J$N$G$9$,!"(Bumount$B$9$k$N$rK:$l$F(Breboot$B$9$k(B $B$HESCf$G;_$^$C$F(Bfsck$B$,I,MW$J>uBV$K$J$C$F$7$^$$$^$9!#(B stop script(/usr/local/etc/rc.d/ggated)$B$r=q$$$F2?$H$+$G$-$J$$$+(B $B?'!9;n$7$?$N$G$9$,!"<h$j4:$($::G=i$K;_$a$k$?$a$K!"(BREQUIRE$B$KA4It;X(B $BDj$7$F$bBLL\$J>uBV$G$9!#(B reboot$B$d(Bshutdown$B$r(Balias$B$7$F(Bumount$B$rDI2C$9$k$N$b4VH4$1$@$7!"NI$$(B $B<j$,$"$l$P$465<($$$?$@$1$^$;$s$+!#(B $B0J2<$OBLL\$J(Bscript$B$G$9!#(B % cat /usr/local/etc/rc.d/ggatec #!/bin/sh # PROVIDE: ggatec # REQUIRE: DAEMON LOGIN FILESYSTEMS NETWORKING SERVERS # KEYWORD: nojail shutdown . /etc/rc.subr name=ggatec command="/sbin/ggatec" desc="ggatec" rcvar=ggatec_enable load_rc_config $name : ${ggatec_enable:=NO} start_cmd=ggatec_start stop_cmd=ggatec_stop ggatec_start() { ${command} create -u 0 192.168.0.1 /dev/nvd0p3 } ggatec_stop() { umount /usr/obj ${command} destroy -u 0 } load_rc_config ${name} run_rc_command "$1" -- Masachika ISHIZUKA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210624.180436.2091781412757794407.ish>