侠义书生 3 years ago
parent
commit
61f5b49968
2 changed files with 0 additions and 15 deletions
  1. 0 15
      debootstrap/my_exec.sh
  2. 0 0
      shell/trap.sh

+ 0 - 15
debootstrap/my_exec.sh

@@ -1,15 +0,0 @@
-echo \
-    "#!/bin/sh
-exit 101" >"$TARGET/usr/sbin/policy-rc.d"
-
-chmod 755 "$TARGET/usr/sbin/policy-rc.d"
-
-[ -f "$TARGET/sbin/start-stop-daemon.REAL" ] || mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL"
-echo \
-    "#!/bin/sh
-echo
-echo \"Warning: Fake start-stop-daemon called, doing nothing\"" >"$TARGET/sbin/start-stop-daemon"
-chmod 755 "$TARGET/sbin/start-stop-daemon"
-
-mkdir -p "$TARGET/var/lib/dpkg"
-echo "apt apt" >"$TARGET/var/lib/dpkg/cmethopt"

+ 0 - 0
debootstrap/trap.sh → shell/trap.sh