Beiträge von nnaass

    Bin derzeit noch im Urlaub - werde ich mir in ca. 2 Wochen aber anschauen. Danke vorab.
    Da wohl einige QUser ähnliche Anforderungen haben werde ich versuchen hier eine Step by Step Anleitung für ein einfaches Autostop Skript zu posten (oder Du?). Anhand meiner Anforderung: ein vorher manuell gemountetes NFS share per Autostop (bei Herunterfahren) zu unmounten. Wobei das auszuführende Skript denkbar einfach ist - in meinem Fall nur aus einem Befehl besteht:


    Bash
    #!/bin/sh
    umount /share/mydata/_temp/mntpoint


    Eine Lösung im Q-Forum sollte dann möglichst einfach und für Non-IT-Experts entstehen...... Also ein Autorun.sh skript welches lediglich den Symlink auf das obige Skript in /etc/rcK.d schreibt.
    Bin allerdings noch nicht sicher wie ich mein Skript (siehe oben) mit Argumenten wie "start" und "stop" ausstatten kann - Wie Du es als notwendig beschrieben hast. Wobei meinem Skript ja egal wäre welches $1 Argument übergeben wird.... es wird doch immer ausgeführt und stört sich auch nicht an Argumenten - oder liege ich da falsch?

    Danke kasimodo, aber so ganz verstehe ich Deinen Ansatz nicht oder kann Deinen Trick nicht nachvollziehen.
    Ich suche eine Methode welche beim initiierten Herunterfahren des NAS mir noch zusätzlich die Möglichkeit gibt ein Skript auszuführen.


    zum Beispiel: Ich kenne Ansätze unter Linux-Distributionen welche beim Wechsel des runlevels reagieren, dass wäre perfekt.... und da bei unseren QNAPs ja ein Ubuntu unter der Haube steckt, müsste da doch was möglich sein ?!

    Kennt jemand eine einfache QPKG-app mit welcher man eine einmal und vorab hinterlegte Skript-datei, dann immer einfach per Klick aus dem GUI starten kann?


    Hintergrund: Ich möchte auf meiner HS-251 (local-Display, HDMI-Ausgang) am TV mit nur einem Klick im HD-Station-GUI bequem: mount, umount und shutdown Befehle ausführen können.


    Also eine "Q-Alias" oder "Q-Script" app ;)


    Danke für jeden Tipp, Hilfe, Anregung,.....

    Hallo Gummipunkt,


    habe das gleiche oder ein sehr ähnliches Problem! Sieht mir nach Dateirechten aus...?!
    Hast Du mittlerweile 'ne Lösung gefunden? Wäre nett wenn Du Deine Ansätze hier veröffentlichen kannst.


    Oder hat jemand anders auch gleiche Probleme - und eine Lösung gefunden?


    Typo3 Install Tool zeigt keine Fehler, Typo3 Log ist fehlerfrei.


    Ich nutze:
    jungfräuliches QNAP TS-259 Pro+ nur "admin" User
    FW 3.7.x
    QPKG: Optware 0.99.163, JRE 6.0.22, phpMyAdmin 3.3.5
    Typo3: 4.7.5
    PHP: 5.3.14
    MySQL: 3.7.x (API: 5.1.36)



    Code
    ipkg list-installed:bash - 3.2.49-1 - A bourne style shellbinutils - 2.17-2 - The GNU assembler and linker and related toolsbzip2 - 1.0.6-1 - Very high-quality data compression programcatdoc - 0.94.2-1 - catdoc can extract text from Microsoft word files, and xls2csv does roughly same for Excel files.cyrus-sasl-libs - 2.1.23-2 - Provides client or server side authentication (see RFC 2222).diffutils - 3.1-1 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text filesfreetype - 2.3.6-1 - Free truetype librarygcc - 4.2.1-5 - The GNU Compiler Collection.gdbm - 1.8.3-4 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.glib - 2.20.4-1 - The GLib library of C routines.imagemagick - 6.6.9.1-1 - A set of image processing utilities.ipkg-web - 7-7 - A web frontend for ipkglibc-dev - 2.6.1-5 - libc development files.libdb - 4.2.52-3 - Berkeley DB Librarieslibjpeg - 6b-3 - collection of jpeg toolsliblcms - 1.19-1 - A small-footprint, speed optimized color management engine.libnsl - 2.6.1-4 - Network Services Librarylibpng - 1.2.44-1 - Portable Network Graphics Librarieslibstdc++ - 6.0.9-6 - Standard C++ library, needed for dynamically linked C++ programslibtiff - 3.9.5-1 - Tag Image File Format Librarieslibtool - 1.5.26-1 - Library tools.libxml2 - 2.7.8-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.libxslt - 1.1.26-2 - An XML Stylesheet processor based on libxml2make - 3.82-1 - examines files and runs commands necessary for compilationncdu - 1.7-1 - NCurses Disk Usage.ncurses - 5.7-1 - NCurses librariesncursesw - 5.7-1 - NCurses libraries with wide char supportopenldap-libs - 2.3.43-2 - Open Lightweight Directory Access Protocolopenssl - 0.9.8v-2 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and libraripcre - 8.31-1 - Perl-compatible regular expression librarypsmisc - 22.17-1 - A set of some small useful utilities that use the proc filesystem.readline - 6.1-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they aresudo - 1.8.4.5-1 - System utility to execute commands as the superusertar - 1.26-1 - heavyweight version of the Tape ARchivertextutils - 2.1-5 - GNU Text Utilitiesunrtf - 0.20.5-1 - A command-line program written in C which converts documents in Rich Text Format (.rtf) to HTML, LaTeX, PostScript, and other fxpdf - 3.02-1 - Various PDF tools (no support for X11 compiled in)zlib - 1.2.5-1 - zlib is a library implementing the 'deflate' compression system.


    Code
    Rechte:
    drwxrwxrwx    6 admin    administ     4.0k Oct 22 00:47 ./
    drwxrwxrwx   22 admin    administ     4.0k Oct 20 02:03 ../
    lrwxrwxrwx    1 admin    administ       27 Oct 22 00:12 Optware -> /home/httpd/html/Management/
    drwxr-xr-x    6 httpdusr everyone     4.0k Oct 16 15:27 dummy-4.7.5/
    drwxr-xr-x   13 1110     20           4.0k Oct 21 02:41 htmldoc-1.8.23/
    -rwxrwx---    1 admin    administ    10.6k Oct 20 04:52 index.php*
    drwxrwx---   12 admin    everyone     4.0k Oct 23 00:48 phpMyAdmin/
    drwxrwxrwx    4 httpdusr everyone     4.0k Oct 16 15:26 typo3_src-4.7.5/

    Danke für jede Hilfe, Anregung etc.
    Mathias