Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #168761

Re: Linux startup, Wheezy -- a required script won't run on startup, but can run manually without any trouble

From Dan Purgert <dan@djph.net>
Newsgroups linux.debian.user
Subject Re: Linux startup, Wheezy -- a required script won't run on startup, but can run manually without any trouble
Date 2016-06-09 23:10 +0200
Message-ID <rIfnd-3pv-71@gated-at.bofh.it> (permalink)
References <rIcfD-18x-3@gated-at.bofh.it> <rIdEK-2bK-13@gated-at.bofh.it> <rIdOp-2fC-9@gated-at.bofh.it> <rIeKu-2SW-11@gated-at.bofh.it> <rIeUa-2WE-13@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


Andrew McGlashan wrote:
>[snip]
> The script does have #! /bin/sh at the top and /bin/sh does point to
> /bin/dash as follows:
>
> # ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Feb 21 17:40 /bin/sh -> dash

Try running it as 'sh <yourscript>' or 'dash <yourscript>' -- you're
probably doing "bashisms" in there somewhere that're causing things to
fail.


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Linux startup, Wheezy -- a required script won't run on startup, but  can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-09 19:50 +0200
  Re: Linux startup, Wheezy -- a required script won't run on  startup, but  can run manually without any trouble Dan Purgert <dan@djph.net> - 2016-06-09 21:20 +0200
    Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-09 21:30 +0200
      Re: Linux startup, Wheezy -- a required script won't run on  startup,  but can run manually without any trouble Dan Purgert <dan@djph.net> - 2016-06-09 22:30 +0200
        Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-09 22:40 +0200
          Re: Linux startup, Wheezy -- a required script won't run on  startup,  but can run manually without any trouble Dan Purgert <dan@djph.net> - 2016-06-09 23:10 +0200
            Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Nicholas Geovanis <nickgeovanis@gmail.com> - 2016-06-09 23:30 +0200
        Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Mark Neyhart <Mark.Neyhart@akleg.gov> - 2016-06-09 23:30 +0200
  Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Brian <ad44@cityscape.co.uk> - 2016-06-09 21:30 +0200
    Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-09 21:40 +0200
      Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Brian <ad44@cityscape.co.uk> - 2016-06-09 22:10 +0200
        Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-09 22:20 +0200
          Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Christian Seiler <christian@iwakd.de> - 2016-06-10 00:40 +0200
            Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Mart van de Wege <mvdwege@gmail.com> - 2016-06-10 10:20 +0200
  Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Christian Seiler <christian@iwakd.de> - 2016-06-09 23:40 +0200
    Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-10 08:00 +0200
      Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Christian Seiler <christian@iwakd.de> - 2016-06-10 09:20 +0200
        Re: Linux startup, Wheezy -- a required script won't run on startup,  but can run manually without any trouble Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-06-11 06:10 +0200

csiph-web