Mini Shell

Direktori : /proc/thread-self/root/usr/local/bin/
Upload File :
Current File : //proc/thread-self/root/usr/local/bin/prepare-utmp-cagefs

#!/bin/bash
if [ ! -d /var/run/utmp-cage ]
then
  /bin/mkdir /var/run/utmp-cage
fi
if [ ! -e /var/run/utmp-cage/utmp ]
then
  /bin/ln /var/run/utmp /var/run/utmp-cage/utmp
  /usr/bin/setfacl -b /var/run/utmp-cage/utmp
fi
echo "Created utmp-cage for cagefs"

Zerion Mini Shell 1.0