Skip to content

Commit

Permalink
[doc] rework install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico committed Oct 1, 2014
1 parent e7b3426 commit c0accb5
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,17 @@ CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb2=y
```

Configure auto-mounting of KOPIMI partition
-------------------------------------------
Installation
------------

1. Configure auto-mounting of foreign USB sticks

```
uci set fstab.@global[0].anon_mount=1
uci commit
```

2. Configure auto-mounting of KOPIMI partition

```
uci set fstab.kopimi=mount
Expand All @@ -45,11 +54,21 @@ uci commit
mkdir -p /opt/kopimi
```

Configure auto-mounting of foreign USB sticks
---------------------------------------------
3. Restart

```
uci set fstab.@global[0].anon_mount=1
uci commit
reboot ; exit
```

4. Install hotplug handler

```
cp -a /opt/kopimi/lib/openwrt/kopimi.hotplug /etc/hotplug.d/99-kopimi-altar-tools
```

5. Install init script & enable it

```
cp -a /opt/kopimi/lib/openwrt/kopimi.init /etc/init.d/kopimi
/etc/init.d/kopimi enable
```

0 comments on commit c0accb5

Please sign in to comment.