summaryrefslogtreecommitdiffstats
path: root/scripts/test_configfs.sh
blob: 1ae0fe5c7e5a314a5573ae25fdc848a97df3f4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

mkdir -p /config && mount -t configfs none /config

mkdir /config/avirt/streams/playback_media
echo "2">/config/avirt/streams/playback_media/channels

mkdir /config/avirt/streams/playback_navigation
echo "1">/config/avirt/streams/playback_navigation/channels

mkdir /config/avirt/streams/playback_emergency
echo "1">/config/avirt/streams/playback_emergency/channels

mkdir /config/avirt/streams/capture_voice
echo "1">/config/avirt/streams/capture_voice/channels

echo "1">/config/avirt/streams/sealed