From e39ee79e4d137347c2615dcd4ebb965b77f7e5da Mon Sep 17 00:00:00 2001 From: Thomas Kaiser Date: Mon, 3 Apr 2017 15:57:15 +0200 Subject: [PATCH] Fix InstallOpenMediaVault copy&paste mistake --- scripts/customize-image.sh.template | 44 ----------------------------- 1 file changed, 44 deletions(-) diff --git a/scripts/customize-image.sh.template b/scripts/customize-image.sh.template index f823a2f6f3..60b03f1ba5 100644 --- a/scripts/customize-image.sh.template +++ b/scripts/customize-image.sh.template @@ -28,50 +28,6 @@ Main() { esac } # Main -InstallOpenMediaVault() { - # use this routine to create a Debian Jessie based fully functional - # OpenMediaVault 3 OS image. Use of mainline kernel highly recommended! - # After exchanging userpatches/customize-image.sh or at least uncommenting - # InstallOpenMediaVault line above you would then run this for a NEO 2 - # for example: ./compile.sh RELEASE=jessie BRANCH=dev BOARD=nanopineo2 - # - # Please note that this variant changes Armbian default security - # policies since you end up with root password 'openmediavault' which - # you have to change yourself later. - # - # This routine is based on idea/code courtesy Benny Stark. For fixes, - # discussion and feature requests please refer to - # https://forum.armbian.com/index.php?/topic/2644-openmediavault-3x-customize-imagesh/ -#!/bin/bash - -# arguments: $RELEASE $LINUXFAMILY $BOARD $BUILD_DESKTOP -# -# This is the image customization script -# -# NOTE: It is copied to /tmp directory inside the image -# and executed there inside chroot environment -# so don't reference any files that are not already installed - -RELEASE=$1 -LINUXFAMILY=$2 -BOARD=$3 -BUILD_DESKTOP=$4 - -Main() { - case $RELEASE in - jessie) - # your code here - InstallOpenMediaVault # uncomment to get an OMV 3 image - ;; - xenial) - # your code here - ;; - stretch) - # your code here - ;; - esac -} # Main - InstallOpenMediaVault() { # use this routine to create a Debian Jessie based fully functional # OpenMediaVault 3 OS image. Use of mainline kernel highly recommended!