Re: Linux startup, Wheezy -- a required script won't run on startup, but can run manually without any trouble
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|
Reply to:
- References:
- Linux startup, Wheezy -- a required script won't run on startup, but can run manually without any trouble
- From: Andrew McGlashan <andrew.mcglashan@affinityvision.com.au>
- 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>
- Re: Linux startup, Wheezy -- a required script won't run on startup, but can run manually without any trouble
- From: Andrew McGlashan <andrew.mcglashan@affinityvision.com.au>
- 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>
- Re: Linux startup, Wheezy -- a required script won't run on startup, but can run manually without any trouble
- From: Andrew McGlashan <andrew.mcglashan@affinityvision.com.au>