#!/bin/sh
# DD-WRT V22 postinit script by Sebastian Gottschall (BrainSlayer). (some parts are taken from OpenWRT)

# mount jffs2
if [ "$(nvram get jffs_mounted)" = "1" ]; then
    mkdir /jffs/tmp
    mkdir /jffs/tmp/ipkg
fi