diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-03 22:48:04 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-03 22:48:04 +0000 |
commit | c20cb42ec8d6bc8919308e039b45b12136685452 (patch) | |
tree | 289be5b6aae514ebd502c0f5cfae4bcfeb49fc85 /busybox/busybox-1.00-rc1/postinst | |
parent | e323b96de179765902fb716b338187ed936333f1 (diff) |
roll busybox back to 1.00-rc1 due to modprobe and other breakage in rc2
BKrev: 41101624yPfQAK2RdolnJpfMvrcJTw
Diffstat (limited to 'busybox/busybox-1.00-rc1/postinst')
-rw-r--r-- | busybox/busybox-1.00-rc1/postinst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/busybox/busybox-1.00-rc1/postinst b/busybox/busybox-1.00-rc1/postinst new file mode 100644 index 0000000000..36d8190f80 --- /dev/null +++ b/busybox/busybox-1.00-rc1/postinst @@ -0,0 +1,25 @@ +#!/bin/busybox ash + +action="$1" +oldversion="$2" + +umask 022 + +if /bin/busybox [ "$action" != configure ] +then + exit 0 +fi + +. /etc/default/functions + +setup_init_hwclock() { + updatercd hwclock.sh start 50 S . stop 25 0 1 6 . + /etc/init.d/hwclock.sh restart +} + +/bin/busybox ash /usr/bin/update-alternatives --install /bin/vi vi /bin/busybox 100 +/bin/busybox ash /usr/bin/update-alternatives --install /bin/sh sh /bin/busybox 100 + +setup_init_hwclock + +exit 0 |