Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/boot/halt.sh

13 lines
243 B
Bash
Raw Normal View History

* Started setting up a proper init environment. svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00
#! @bash@/bin/sh -e
* Networking now works in the UML machine. Masquerading for the tun device should be enabled on the host in order for the UML machine to be able to talk to the Internet. svn path=/nixu/trunk/; revision=806
2004-02-19 12:49:00 +00:00
. @out@/bin/env.sh
* Started setting up a proper init environment. svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00
* Ignore failure to set up networking. * Unmount, don't remount / on halt. svn path=/nixu/trunk/; revision=1169
2004-07-16 15:41:47 +00:00
echo "unmount file systems..."
umount -avt noproc,nonfs,nosmbfs,nodevfs || echo "(failed)" # ignore errors
* Use sysvinit's init to start the system. This has the happy side-effect of initialising the console properly (i.e., enabling Ctrl-[C, Z]). svn path=/nixu/trunk/; revision=801
2004-02-18 10:56:07 +00:00
echo "syncing..."
sync || echo "(failed)" # ignore errors
* Started setting up a proper init environment. svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00
echo "shutting down..."
* Use sysvinit's init to start the system. This has the happy side-effect of initialising the console properly (i.e., enabling Ctrl-[C, Z]). svn path=/nixu/trunk/; revision=801
2004-02-18 10:56:07 +00:00
halt -d -f
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 130ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API