Re: [PATCH] restrict NETWORK_PERSIST to runlevel 0 and 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 2010-08-22 17:52, schrieb Florian Pritz:
On 22.08.2010 17:49, Kurt J. Bosch wrote:
Am 2010-08-22 17:40, schrieb Kurt J. Bosch:
   if [[ ${NETWORK_PERSIST,,} = yes&&  $RUNLEVEL == [06] ]] ; then
would look a bit nicer IMHO :)

... and RUNLEVEL PREVLEVEL should already be marked for export.

Well I haven't tested that, but I can't access them from my X or tty
session so I guess they aren't.

That is because you try from within a login shell which sets up its own environment AFAIK. I wrote the scripts for fbsplash and fbsplash-extras which use these variables with stock initscripts.




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux