#!/bin/sh

CHOWN=/bin/chown
CHMOD=/bin/chmod

# If ROOTDIR = "/", we want to prevent the beginning of the absolute path
# name from being assigned "// instead of "/" in the restore_file function.

if [ "$ROOTDIR" = "/" ]; then
   rootdir=""
else
  rootdir=$ROOTDIR
fi

# MAIN

if [ -f $rootdir/etc/default/lu ]
  then
      $CHOWN root:other $rootdir/etc/default/lu
      $CHMOD 0644  $rootdir/etc/default/lu
fi

exit 0
