From aca6e6139000d9f81445fdd77f1101169ca589f5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 13 Sep 2011 06:45:04 +0200 Subject: [PATCH] remove package 'netmount' Signed-off-by: Stephan Raue --- .../netmount/config/netmount.conf.sample | 50 ----------------- packages/network/netmount/init.d/59_netmount | 30 ---------- packages/network/netmount/install | 29 ---------- packages/network/netmount/meta | 36 ------------ packages/network/netmount/scripts/netmount | 55 ------------------- 5 files changed, 200 deletions(-) delete mode 100644 packages/network/netmount/config/netmount.conf.sample delete mode 100644 packages/network/netmount/init.d/59_netmount delete mode 100755 packages/network/netmount/install delete mode 100644 packages/network/netmount/meta delete mode 100755 packages/network/netmount/scripts/netmount diff --git a/packages/network/netmount/config/netmount.conf.sample b/packages/network/netmount/config/netmount.conf.sample deleted file mode 100644 index 6190c959e7..0000000000 --- a/packages/network/netmount/config/netmount.conf.sample +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ -# netmount.conf -# -# This configuration file allows you to setup network mounts via -# CIFS (Samba), NFS or AFP while the system is booting -# -# This is an sample file, please rename or copy this file to -# netmount.conf in the samba share "Configfiles" (or /storage/.config/) -# -# Usage: -# service | share on server | local mountpoint <| mount options> -# -# - "service" can be "nfs" for NFS mounts, "cifs" for CIFS (Samba) or -# "afp" for AFP (Apple File Protocol) mounts -# - Please use an "|" as delimiter -# - Don't use spaces in usernames, passwords and options -# - be aware of the different syntax for NFS and AFP mounts -# - Local mountpoints should only be on /storage -# -# Examples: -# AFP (Apple File Protocol) mounts, please specify username and password if -# needed. -# afp | 192.168.1.44/videos | /storage/mount/videos | : - -# CIFS (Samba/ Windows share) mounts, please specify username and password if -# needed (comma seperated). -# cifs | //192.168.1.44/videos | /storage/mount/videos | username=user,pass=secret -# cifs | //192.168.1.44/tv shows | /storage/mount/tvshows | username=user,pass=secret - -# NFS (Network File System) mounts, please specify additional options if needed -# (comma seperated). Default options are 'tcp' and 'nolock'. -# nfs | 192.168.1.44:/videos | /storage/mount/videos | ro,timeo=600 diff --git a/packages/network/netmount/init.d/59_netmount b/packages/network/netmount/init.d/59_netmount deleted file mode 100644 index a11b1a50bf..0000000000 --- a/packages/network/netmount/init.d/59_netmount +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -# Mounting Network shares -# -# runlevels: openelec, textmode - -( - wait_for_network - - progress "mounting Network shares" - netmount > /dev/null 2>&1 -)& diff --git a/packages/network/netmount/install b/packages/network/netmount/install deleted file mode 100755 index 87546cd92a..0000000000 --- a/packages/network/netmount/install +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - - mkdir -p $INSTALL/usr/bin - cp $PKG_DIR/scripts/netmount $INSTALL/usr/bin - - mkdir -p $INSTALL/usr/config - cp $PKG_DIR/config/netmount.conf.sample $INSTALL/usr/config diff --git a/packages/network/netmount/meta b/packages/network/netmount/meta deleted file mode 100644 index 339fa62b77..0000000000 --- a/packages/network/netmount/meta +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="netmount" -PKG_VERSION="0.1" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="GPL" -PKG_SITE="http://www.openelec.tv" -PKG_URL="" -PKG_DEPENDS="afpfs-ng cifs-utils sshfs-fuse connman" -PKG_BUILD_DEPENDS="toolchain" -PKG_PRIORITY="optional" -PKG_SECTION="tools" -PKG_SHORTDESC="netmount: scripts for mounting network shares on boottime" -PKG_LONGDESC="netmount: scripts for mounting network shares on boottime" -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/network/netmount/scripts/netmount b/packages/network/netmount/scripts/netmount deleted file mode 100755 index 3a380f796d..0000000000 --- a/packages/network/netmount/scripts/netmount +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -# Mounting Network shares - -NETMOUNT_USERCONF="/storage/.config/netmount.conf" - -if [ -f "$NETMOUNT_USERCONF" ]; then - -IFS=" -" - for i in `tr -d '\r' < $NETMOUNT_USERCONF |grep -v "^#"`; do - SERVICE=`echo $i | awk -F\| '{print $1}' | sed 's/^[ \t]*//;s/[ \t]*$//'` - SHARE=`echo $i | awk -F\| '{print $2}' | sed 's/^[ \t]*//;s/[ \t]*$//'` - MOUNTPOINT=`echo $i | awk -F\| '{print $3}' | sed 's/^[ \t]*//;s/[ \t]*$//'` - OPTIONS=`echo $i | awk -F\| '{print $4}' | sed 's/^[ \t]*//;s/[ \t]*$//'` - - logger -t Netmount "... mounting $SHARE to $MOUNTPOINT via $SERVICE ..." - - mkdir -p $MOUNTPOINT - case "$SERVICE" in - afp) - sleep 1 - mount_afp afp://$OPTIONS@$SHARE "$MOUNTPOINT" - ;; - cifs) - mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" & - ;; - nfs) - mount "$SHARE" "$MOUNTPOINT" -o nolock,tcp,"$OPTIONS" & - ;; - esac - done -fi - -exit 0