扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:builder.com.cn 2007年1月19日
关键字:
#!/bin/execlineb
/bin/export PATH "/sbin:/bin:/usr/sbin:/usr/bin"
# run the traditional startup services
/bin/foreground { /sbin/rc 1 }
# create the stopit and reboot files for runit and chmod them appropriately
/bin/foreground { /bin/touch /etc/runit/stopit }
/bin/foreground { /bin/touch /etc/runit/reboot }
/bin/foreground { /bin/chmod 0 /etc/runit/stopit }
/bin/foreground { /bin/chmod 0 /etc/runit/reboot }
# remove /sbin/runit.old if it's found; that indicates runit was upgraded
/bin/foreground { /bin/if { /usr/bin/test -f /sbin/runit.old } /bin/rm -f /sbin/runit.old }
/bin/foreground { /bin/echo }
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。