<runtime ram="32M" caps="512" binary="init">

	<requires>
		<nic/>
		<gui/>
		<timer/>
		<file_system label="ssh"    writeable="no"/>
		<file_system label="fonts"  writeable="no"/>
		<rom    label="clipboard"/>
		<report label="clipboard"/>
	</requires>

	<content>
		<rom label="init"/>
		<rom label="ld.lib.so"/>
		<rom label="libc.lib.so"/>
		<rom label="libcrypto.lib.so"/>
		<rom label="libm.lib.so"/>
		<rom label="libssh.lib.so"/>
		<rom label="gui_fb"/>
		<rom label="ssh_client"/>
		<rom label="terminal"/>
		<rom label="vfs.lib.so"/>
		<rom label="vfs_jitterentropy.lib.so"/>
		<rom label="vfs_lwip.lib.so"/>
		<rom label="zlib.lib.so"/>
	</content>

	<config>
		<parent-provides>
			<service name="ROM"/>
			<service name="PD"/>
			<service name="RM"/>
			<service name="CPU"/>
			<service name="LOG"/>
			<service name="Timer"/>
			<service name="Report"/>
			<service name="File_system"/>
			<service name="Nic"/>
			<service name="Gui"/>
		</parent-provides>

		<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>

		<default caps="100"/>

		<start name="gui_fb">
			<resource name="RAM" quantum="4M"/>
			<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
			<config xpos="10" ypos="10" initial_width="800" initial_height="600"/>
		</start>

		<start name="terminal">
			<resource name="RAM" quantum="4M"/>
			<provides> <service name="Terminal"/> </provides>
			<config copy="yes" paste="yes">
				<vfs> <dir name="fonts"> <fs/> </dir> </vfs>
			</config>
			<route>
				<service name="File_system"> <parent label="fonts"/> </service>
				<service name="Report" label="clipboard"> <parent label="clipboard"/> </service>
				<service name="ROM"    label="clipboard"> <parent label="clipboard"/> </service>
				<any-service> <parent/> <any-child/> </any-service>
			</route>
		</start>

		<start name="ssh_client" caps="256">
			<resource name="RAM" quantum="32M" />
			<exit propagate="yes"/>
			<config>
				<vfs>
					<fs/>
					<dir name="dev">
						<log/>
						<jitterentropy name="random"/>
					</dir>
					<dir name="socket"> <lwip dhcp="yes"/> </dir>
				</vfs>
				<libc stdout="/dev/log" stderr="/dev/log" socket="/socket"/>
			</config>
			<route>
				<service name="File_system"> <parent label="ssh"/> </service>
				<any-service> <parent/> <any-child/> </any-service>
			</route>
		</start>
	</config>

</runtime>
