diff options
| author | Paľo Šimo <palo.simo@gmail.com> | 2008-03-11 15:38:41 +0000 |
|---|---|---|
| committer | Paľo Šimo <palo.simo@gmail.com> | 2008-03-11 15:38:41 +0000 |
| commit | 4e4b74429cd870cd471a2e2167c8c4efa97c3e94 (patch) | |
| tree | 7aa6d633b5d6d5fe9a8f2c5e8c477151864a8fce /event.d | |
| parent | 2157fe0d07796e3ca101d94bfed59cbb13b9e525 (diff) | |
| parent | 6cc0dede699e7505e832988bfb8229bf78399289 (diff) | |
| download | initscripts-4e4b74429cd870cd471a2e2167c8c4efa97c3e94.tar.gz initscripts-4e4b74429cd870cd471a2e2167c8c4efa97c3e94.tar.xz initscripts-4e4b74429cd870cd471a2e2167c8c4efa97c3e94.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/initscripts
Diffstat (limited to 'event.d')
| -rw-r--r-- | event.d/serial | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/event.d/serial b/event.d/serial new file mode 100644 index 00000000..6c29af04 --- /dev/null +++ b/event.d/serial @@ -0,0 +1,11 @@ + +start on fedora.serial-console-available * +stop on runlevel [016] + +instance +exec /sbin/agetty /dev/$1 $2 vt100-nav +post-stop script + if [ "$UPSTART_EVENT" != "${UPSTART_EVENT##fedora.serial-console-available}" ]; then + initctl emit --no-wait fedora.serial-console-available $1 $2 + fi +end script |
