2013-02-13 22:16:00 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
[ -n "$TARGET_ROOT" ]
|
|
|
|
|
|
|
|
sudo mv $TARGET_ROOT/sbin/start-stop-daemon.REAL $TARGET_ROOT/sbin/start-stop-daemon
|
2013-11-17 03:42:17 +00:00
|
|
|
if [ -f $TARGET_ROOT/sbin/initctl.REAL ]
|
|
|
|
then
|
|
|
|
sudo mv $TARGET_ROOT/sbin/initctl.REAL $TARGET_ROOT/sbin/initctl
|
|
|
|
fi
|
2013-02-13 22:16:00 +00:00
|
|
|
sudo mv $TARGET_ROOT/usr/sbin/invoke-rc.d.REAL $TARGET_ROOT/usr/sbin/invoke-rc.d
|