#!/bin/sh # Script for 2.4.x kernels # rename this to "rc.uptime" and make it executable # I add it to the end of /etc/rc.d/rc.local # wait 6 minutes sleep 360 # do it! echo "Adding a some days to the uptime..." echo 1000000000 > /proc/sys/kernel/jiffies sleep 10 echo "Adding some more days to the uptime..." echo 2000000000 > /proc/sys/kernel/jiffies sleep 10 echo "Adding even more days to the uptime..." echo 3000000000 > /proc/sys/kernel/jiffies sleep 10 echo "Oh, the humanity!" echo 4000000000 > /proc/sys/kernel/jiffies echo "Ok, uptime should be up over 462 days, that outta do it!" sleep 10 echo "setting clock" /sbin/service ntpd restart