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

2 small edits to /etc/rc



In the section dealing with vibackup:
replace 
  if test -x $i -o ! -s $i; then
with 
  if [ -x $i -o ! -s $i ]; then

Similarly in the next section dealing with virecovery:
replace
  if test -n "$recfile" -a -s "$recfile";
with
  if [ -n "$recfile" -a -s "$recfile" ];

also later on
  . /etc/rc.local
with
  test -f /etc/rc.local && . /etc/rc.local

It's most annoying for the system to drop back into single-user cause it
can't find rc.local.

So did anyone like or have comments on my last round of rc* patches?