Menu

Shutdown after backup with ocs-custom ask "Press ENTER please"

2013-09-06
2013-09-12
  • Michael Kolowicz

    Hello,

    i try to find out how can I shutdown the Client after backup. I search here and via google - but I didn´t find teh righht way. A search here give some interisting Threads - but this are deleted but i can not access them. So I start again a Thread - I hope you forgive me

    Here the commands that I try to use:

    ocs-sr -q2 -b -z1p -i 0 -p poweroff saveparts "$FILENAME" "$USEPARTIONS"

    The Backup is successfull - but the client didn´t shutdown down complete. It hangs and ask to " Press ENTER to exit ..."

    ocs-sr -b -p poweroff noprompt saveparts "$FILENAME" "$USEPARTIONS"

    The Backup not start

    ocs-sr -q2 -b -z1p -i 0 -p true saveparts "$FILENAME" "$USEPARTIONS"

    Backup ist successfull - but It come up a GUI to ask me. When I choose "Poweroff" the Client goes down. But sometime later come up the "Press Enter"-message

    My PXE-Command is:

    bash boot=live live-config union=aufs vga=788 fetch=tftp://192.168.xxx.xxx/OCS686/2.1.2-43/filesystem.squashfs ocs_prerun="busybox tftp -g -b 10240 -r /OCS686/ocs-backup-samba.ocs -l /tmp/ocs-cmd.ocs 192.168.xxx.xxx" ocs_live_run="bash /tmp/ocs-cmd.ocs" ocs_live_keymap="/usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.kmap.gz" ocs_live_batch="yes" ocs_lang="en_US.UTF-8"

    Can some give me a hint how can I make my custom-ocs to work?

    Thanks

     

Log in to post a comment.

Auth0 Logo