home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.gentoo      Stupid OS you gotta compile EVERYTHING      17,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 15,954 of 17,684   
   Michael Mauch to Mark Hobley   
   Re: Why are variable names surrounded by   
   06 Dec 07 20:39:15   
   
   From: michael.mauch@gmx.de   
      
   Mark Hobley wrote:   
   > In alt.os.linux.gentoo Michael Mauch  wrote:   
   >   
   >> The runscript syntax is just the Bash syntax (/sbin/runscript runs   
   >> bash), so you can get more info in "info bash" and any bash tutorial you   
   >> can find on the net.   
   >   
   > Ok thanks for that. Unfortunately there was no man page for runscript, and I   
   > am not that familiar with bash, so I didn't recognize the syntaxes.   
   >   
   > Out of interest, what does runscript provide that bash does not? Why do the   
   > scripts use /sbin/runscript instead of /bin/bash?   
      
   If you start one of the init files with the "#! /sbin/runscript", it   
   displays a bit of help.   
      
   If you use "strings /sbin/runscript", you can see something about   
   selinux, /etc/conf.d/env_whitelist, /lib/rcscripts/sh/rc-help.sh and   
   /sbin/runscript.sh. So the /sbin/runscript does really a bit more than   
   the plain bash. And it has a lot of builtin functions (like ebegin and   
   eend). But for starters it's good to know that it's not another special   
   syntax, but bash, because bash is used underneath the hood.   
      
   There's also some documentation for the init scripts in   
      
      
   Regards...   
                   Michael   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca